search for: destinationregex

Displaying 1 result from an estimated 1 matches for "destinationregex".

Did you mean: destinationreg
2005 Sep 29
1
Delete But Don't Copy
...tion, 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).