Active Topics

 


Reply
Thread Tools
Posts: 171 | Thanked: 13 times | Joined on Nov 2009
#1
Hi

I am trying to get a solution I can run from n900 to sync certain directories eg Music etc.

I have my nas mounted at /media/NAS and that works fine.

Setup grsync, synced ok. Made sure ignore existing was ticked, ran it again and it started copying over the same music tracks, ahh.

Ok - so i though, lets try rsync, which I would prefer as I can use that in a script where I mount the NAS.

Tried: rsync -avzr --ignore-existing /media/NAS/Music/Music /home/user/MyDocs/.sounds/Music

Got some chown errors but copied files. Ran it twice and again, it copied over existing files.

Any ideas?

NAS is a readynas duo so runs a version of linux.

Scott
 
Posts: 37 | Thanked: 9 times | Joined on Nov 2008
#2
I don't see anything wrong.

The -r and -z aren't helping. -r is included in -a and -z would only help with a remote rsync server.

Do both systems have the same timezone?
 
Posts: 486 | Thanked: 251 times | Joined on Oct 2009
#3
As CVBruce wrote, -r is already in -a. Even -z will not help even for a remote system for already compressed files as most music and video will be.

FAT partitions can cause a number of problems for rsync. Timezone is one, but you also might nead a time window, because the time resolution in the FAT file system may not be the same as the other system.

Also, the ownership may be making the files appear as different.

From the man page:
--modify-window=NUM compare mod-times with reduced accuracy
__________________
The Mini-USB plug is an improvement over both the Type B plug and the Micro-B plug.
 
Reply


 
Forum Jump


All times are GMT. The time now is 03:17.