jbk writes:
> My mistake but that still does not explain why $fileList is
> being backslash escaped.
No, $filelist is not a recognized substitution, so BackupPC
thinks you really want a literal '$filelist' in the argument
list, so the '$' is backslash escaped. In contrast, $fileList
gets replaced with the file list.
> Now it works, except that names (file or folder) can not
> have spaces in them. So you have to list names with spaces
> directly on the command line with the spaces escaped. I
> could not figure out a way to do it in the $fileList.
$fileList is automatically generated from $Conf{BackupFilesOnly}.
Spaces in those names should be correctly passed to the Xfer
method without the need for additional escaping. If you manually
put file names directly into the Xfer command then you need to
escape them.
Craig
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
BackupPC-users mailing list
[email protected]
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/