Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm trying to delete remote duplicate files without transferring the non-existing files, and without updating the existing files.

If I specify both --existing and --ignore-existing (along with -av --remove-source-files) the operation is a no-op and nothing will be transfered, but nothing will be deleted either.

The best I have so far is to make a local copy of destination, use rsync without --ignore-existing, then rsync my local copy on top of the destination

share|improve this question

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.