• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Any way to make RSync more efficient? (Mac to Debian)

VinylxScratches

Golden Member
I got a Macbook with Snow Leopard. I manually Rsync my Music files to my server that's running Debian.

The building file list process takes forever... since this is a one way sync I was thinking about maybe writing a CSH script that watches the Music drive for changes, I guess it would compare to the last scan and see what's the difference by using the diff command, then maybe running a SFTP command on the files that were added since the last scan....

Would this be a good way of doing it?

Code:
Current code...
#! /bin/csh -f

rsync -e "ssh" -vrca --delete-after ~/Music/ USERNAME@192.168.255.107:/mnt/hd1/share/media/music/
 
Last edited:
Does OS X have nothing like inotify? Something like it would be the best for your script.

As for speeding up rsync, have you tried going over rsyncd instead of ssh?
 
arrange your music into subdirectories

a
b
c
d
e
f

then rsync smaller chunks. i used to have to rsync 400gb of html/jpeg (millions of files) and it was the only way back when rsync only used ram. the use of disk for storing data helps alot but break it down. it really does help.
 
NothinMan, I don't think it exists. I also want it SSHed because eventually I want to do this over the internet.
Emulex, I may have to do that...
LuckyTaxi, git might be cool but I'd like to keep it as "stock" as possible.
Same with Dirvish skyking...
 
Does OS X have nothing like inotify? Something like it would be the best for your script.

As for speeding up rsync, have you tried going over rsyncd instead of ssh?

I think the closest thing would be kqueue, and it may be a poor substitute in this case.
 
Back
Top