[clue-tech] Help using 'rsync'?

jacob jborer at gmail.com
Sat Mar 28 20:01:52 MDT 2009


> Now the command in parenthesis does not work.  Shouldn't that be basic to bash?  For now I just manually added the date.

$(date +%Y%m%d)_rsync.log

-jacob

> ----- Original Message ----
>> From: "adamb at glaven.org" <adamb at glaven.org>
>> To: CLUE technical discussion <clue-tech at cluedenver.org>; "Adrian F. Nagle, IV" <anagle at naglenet.org>
>> Cc: ml.clue-tech clue <clue-tech at cluedenver.org>
>> Sent: Saturday, March 28, 2009 6:57:18 PM
>> Subject: Re: [clue-tech] Help using 'rsync'?
>>
>> Unbalanced parentheses?
>>
>> $(date+%Y%m%d_rsync.log
>>
>>
>> Quoting "Adrian F. Nagle, IV" :
>>
>> >
>> > Folks,
>> >
>> > I found this command for backups.  It appears to do what I want,  that is copy
>> the contents of one USB drive to another USB drive:
>> > sudo rsync -av --progress --delete
>> --log-file=/home/addy/Desktop/$(date+%Y%m%d_rsync.log  /media/nagle_ext1
>> /media/nagle_ext1_bk
>> >
>> > Both the directories are mounted.  When I run the command, I get a  new lines
>> with ">", a sub shell?  It does not appear to do anything  and just hangs at the
>> new prompt.  I'm not sure what to expect with  the --progress option.
>> >
>> > Adrian
>> > --
>> > Adrian Nagle ~ anagle at naglenet.org ~ http://www.naglenet.org/


More information about the clue-tech mailing list