rsync ignore files
Hello colleague
I have little problem with my rsync's.I make sync from our country to other and everything is working.When sync finish donwloading or uploading one php script send email to group of peoples that work is come and they can download it from local server. Users are MAC machines. Server is Linux Debian machine and I share with netatalk.BUT in other country use other software who make ".rsrc" folder.This software make "dot files" (.rsrc) with already downloaded files then RSYNC see this files and downloading it and send email.But work is ghost becouse is old. I need to ignore this kind of files ".rsrc" I search for solution and can't find anything. In rsync man pages don't see for that kind of option. My idea is when the job come one script to delete all .rsrc files befour sending email but I just want to ask if someone have better idea. Thanks for supporting Valio |
I suggest your read the man page again looking for the word "exclude". Here is the idea
Code:
rsync --exclude=".rsrc" ... |
These two command line options should help out:
Quote:
|
Thanks very mutch this help me.
Everything is OK now. Sorry for stupid question |
All times are GMT -5. The time now is 11:15 AM. |