Rsync - it simply ignores the "exclude" command...
nomatter what format i try.
I'm using rsynch to make backups to several remote volumes, mounted to my desktop.
(in case you care, one is a NAS drive; others are big hard drives in an old G4 that is largely a aserver now)
Aside from some odd timestamp issues, it works great.
But i want to exclude several folders and filetypes that are not essential can can literally take 10+ hours (like 100,000 email files).
I have tried the exclude command, using many format variations (as found on various internet sites). I have also tried it as "exclude-from" and created am exclude from types file (excludes.txt).
here's a sample of my latest, but i tried many permutations:
rsync -av -e --exclude-from=excludes.txt /usr/bin/ssh /Users/gfl/Documents/Grants /Volumes/90G_G4_Share/exclude_test/
This syncs to a volume mounted locally, ut physically on an old G4 server.
I also tried:
rsync -av -e --exclude=Mail/ usr/bin/ssh /Users/gfl/Documents/Grants /Volumes/90G_G4_Share/exclude_test/
and
rsync -av -e --exclude 'Mail/' usr/bin/ssh /Users/gfl/Documents/Grants /Volumes/90G_G4_Share/exclude_test/
Suggestions?
Would i be better off using rcp? For the kinds of updates i typically make, i'm not sure the delta algorithm is all that important. The slow part of copying for me is the remote processor (a cheap-$h1t WD SMB NAS drive) -- not the network. Copying to the G4 machine is much, much quicker.
TIA,
Grant
various - MacBookPro 15"; PBG4 12", Mac OS X (10.6.7)