Is it possible to use RSYNC to only delete files that exist at the destination, but not the source. I would like RSYNC to remove files that exist at the destination but do not exist at the source WITHOUT copying or creating any additional files.
If RYSNC can't do this, does someone know a nice way? Perhaps, find <regex> > listing.txt && find <destinationregex> > destination.txt && diff listing.txt destination.txt | rm the differences? (seems kind of ugly to me though). -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html