Login   Register  
PHP Classes
elePHPant
Icontem

spaces in filenames

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

      MySQL Backup Pro  >  All threads  >  spaces in filenames  >  (Un) Subscribe thread alerts  
Subject:spaces in filenames
Summary:Linux-friendly = no spaces
Messages:1
Author:Jake Gibson
Date:2007-06-14 19:54:26
 

  1. spaces in filenames   Reply   Report abuse  
Picture of Jake Gibson
Jake Gibson
2007-06-14 19:54:26
Note many Linux utilities won't gracefully deal with files with spaces in their names. The default filenames for backups are set in backup.class.php - just edit the three lines that look like

$fname = $this->dbName."-$prefix-".date("Y-m-d H-i-s").".sql";

to replace that space between Y-m-d and H-i-s with something. Another "-" works.

Jake