[FredLUG] Re: Help with rsync

Chris O'Donnell chrisod at gmail.com
Sun Oct 11 09:44:00 EDT 2009


That was it. What I don't understand is why

rsync -avh /mnt/photos/2009Photos /mnt/backup/Photos/ copies the new folders that get added to 2009Photos over to the backup drive, but it wasn't working for the music directory without the trailing slash.

Thanks.


Michael Cummings wrote:
> And then for the silly questions...
>
> Is that a copy/paste? Are you sure the first arguments ends without a  
> "/"? (rsync is very sensitive on the format of the source argument)
>
>
> On Oct 10, 2009, at 7:22 PM, Chris O'Donnell wrote:
>
>   
>> I use the following command to back up my music collection (on a NAT
>> drive) to another drive on my web server in the living room.
>>
>> This is the command
>> rsync -avh /mnt/music/MyMusic /mnt/backup/Music/
>>
>> When I run it I get the incremental file list, but it is not copying
>> recently added directories over to /backup/Music. Permissions on the
>> source directory are all 777. I use the same command to backup the  
>> photo
>> directory and it works perfectly. I can not figure out what is  
>> different
>> about the music directory that would cause rsync to not copy new  
>> files.
>>
>> Any ideas?
>>
>>     
>
>
> >
>   

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "FredLUG" group.
To post to this group, send email to fredlug at googlegroups.com
To unsubscribe from this group, send email to fredlug+unsubscribe at googlegroups.com
For more options, visit this group at http://groups.google.com/group/fredlug?hl=en
-~----------~----~----~----~------~----~------~--~---

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://calypso.tux.org/pipermail/fredlug/attachments/20091011/399e5c7a/attachment.html 


More information about the Fredlug mailing list