On 8/1/11 3:46 PM, Les Mikesell wrote:
> On 8/1/2011 5:25 PM, Rory Toma wrote:
>> 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.
> I guess you are right. My command doesn't look quite like that in the
> web interface and I was looking at the log entry where something else
> must have added the '.'.
>
So now you see why I got confused, as the perl construct and the tar
syntax line up perfectly. 8-)
------------------------------------------------------------------------------
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
BackupPC-users AT lists.sourceforge DOT net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/
|