On 8/1/11 3:05 PM, Les Mikesell wrote:
> On 8/1/2011 4:47 PM, Rory Toma wrote:
>> Let me say, the default command threw me for some time:
>>
>> #    $Conf{TarClientCmd} = '$tarPath -c -v -f - -C /mnt/$host/$shareName'
>> #                        . ' --totals';
>>
>>
>> as I interpreted the "." as a tar argument, rather than perl syntax. 8-)
> Errr, '.' is the target, meaning 'current directory'.  The -C option
> tells tar to change its working directory to the specified path, then it
> backs it up using '.' to have only relative paths in the backup.
>
Yes, . is current directory. However, in this case, isn't this perl 
syntax, as it is outside of the ' '? I don't really do perl, however.

Also, if I include the ., outside of quotes, with nothing after it, the 
command fails.

------------------------------------------------------------------------------
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
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/

Reply via email to