rsync --archive --delete --quiet --progress --stats --compress
--rsh=/usr/bin/ssh --exclude ".svn" --exclude ".DS_Store" --exclude "."
--exclude ".." --exclude "thumbs.db" /Users/test/Desktop/Sites/
10.211.55.6:/var/www

I'm running that on osx talking to my ubuntu box. if i delete a file out of
Sites, it deletes it out of www on the remote, as expected. My server, once
in a while, creates files though, like error logs, receives file uploads,
etc. Is there a flag to specify that will only delete remote files on an
rsync trigger if the files were created by the ssh-ing user?

I looked through the whole man, and while I saw the filter rules, I'm not
sure if that could be used. Any thoughts would be very much appreciated.

Thanks.
-- 
View this message in context: 
http://old.nabble.com/deletes-on-recipient-server%2C-but-don%27t-delete-natively-created-files-tp26897631p26897631.html
Sent from the Samba - rsync mailing list archive at Nabble.com.

-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to