hi again, not meaning to keep asking the same question, but, just wondering how i can achieve the desired effect as outlined below, any suggestions welcome... yes, i did try the "exclude" switch. example.. : hi all... : : is it possible to exclude an entire dir from syncing (to remote dir) if the : dir is in the sync path? : : regards : -z : : "The missing link between animals and the real human being is most likely ourselves." : Austrian professor of biology and Nobel laureate (1973), Konrad Lorenz :
On Tue, Mar 11, 2003 at 12:18:04AM +1100, zenn wrote:> hi again, not meaning to keep asking the same question, but, just wondering > how i can achieve the desired effect as outlined below, any suggestions > welcome... > > yes, i did try the "exclude" switch. > example..Then you did so incorrectly. I suggest you read the examples.> : hi all... > : > : is it possible to exclude an entire dir from syncing (to remote dir) if > the > : dir is in the sync path?-- ________________________________________________________________ J.W. Schultz Pegasystems Technologies email address: jw@pegasys.ws Remember Cernan and Schmitt
ok, I can't remember who posted the answer to my question, you know who you are, many thanks... the answer is, the exclude options are relative to the dir being sync'ed rsync -avz ssh -e --exclude=videos /home/user/files/blah user@remote.host.com:/home/user/files/ so the above will sync everything in "home/user/files/blah " except the videos dir cheers -z : hi again, not meaning to keep asking the same question, but, just wondering : how i can achieve the desired effect as outlined below, any suggestions : welcome... : : yes, i did try the "exclude" switch. : example.. : : : : : : : hi all... : : : : is it possible to exclude an entire dir from syncing (to remote dir) if : the : : dir is in the sync path? : : : : regards : : -z : : : : "The missing link between animals and the real human being is most likely : ourselves." : : Austrian professor of biology and Nobel laureate (1973), Konrad Lorenz : : : : -- : To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync : Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html :