0

Help!!! I mistakenly rsynced the source folder into the wrong folder, and now I don't know which files were from the rsync and which were there initially. Is it possible to use rsync to delete in the destination folder the common files between the source and the destination folders? As far as I know all --delete tags are for deleting files that are in the destination but not in the source. What I want is to delete files in the destination folder that are also in the source folder.

2
  • Which operating system?
    – harrymc
    Commented Oct 15, 2020 at 12:24
  • The source directory is Ubuntu, the target directory is technically on Windows, but I use the Ubuntu on Windows shell to do the rsync.
    – irene
    Commented Oct 15, 2020 at 12:38

0

You must log in to answer this question.

Browse other questions tagged .