Skip to main content
added 50 characters in body
Source Link
Kusalananda
  • 355.9k
  • 42
  • 735
  • 1.1k

The files that you list as Only in ... are all located inunder the target directory. What this means is that thesethose files were there before you ran the rsync command.

If you want to remove those files from the target directory, you may run the rsync command with its --delete option. Doing so would delete all files in the target directory hierarchy not present in the source directory hierarchy. You may also want to investigate using the --delete-excluded option if you need to delete files at the target that match any of your exclusion patterns.

Consider testing this on a copy of the data first or at least with the --dry-run option (or -n) to see what files rsync would remove, and always take frequent backups.

The files that you list as Only in ... are all located in the target directory. What this means is that these were there before you ran the rsync command.

If you want to remove those files from the target directory, you may run the rsync command with its --delete option. Doing so would delete all files in the target directory hierarchy not present in the source directory hierarchy.

Consider testing this on a copy of the data first or at least with the --dry-run option (or -n) to see what files rsync would remove, and always take frequent backups.

The files that you list as Only in ... are all located under the target directory. What this means is that those files were there before you ran the rsync command.

If you want to remove those files from the target directory, you may run the rsync command with its --delete option. Doing so would delete all files in the target directory hierarchy not present in the source directory hierarchy. You may also want to investigate using the --delete-excluded option if you need to delete files at the target that match any of your exclusion patterns.

Consider testing this on a copy of the data first or at least with the --dry-run option (or -n) to see what files rsync would remove, and always take frequent backups.

added 50 characters in body
Source Link
Kusalananda
  • 355.9k
  • 42
  • 735
  • 1.1k

The files that you list as Only in ... are all located in the target directory. What this means is that these were there before you ran the rsync command.

If you want to remove those files from the target directory, you may run the rsync command with its --delete option. Doing so would delete all files in the target directory hierarchy not present in the source directory hierarchy.

Consider testing this on a copy of the data first or at least with the --dry-run option (or -n) to see what files rsync would remove, and always take frequent backups.

The files that you list as Only in ... are all located in the target directory. What this means is that these were there before you ran the rsync command.

If you want to remove those files from the target directory, you may run the rsync command with its --delete option. Doing so would delete all files in the target directory hierarchy not present in the source directory hierarchy.

Consider testing this on a copy of the data first, and always take frequent backups.

The files that you list as Only in ... are all located in the target directory. What this means is that these were there before you ran the rsync command.

If you want to remove those files from the target directory, you may run the rsync command with its --delete option. Doing so would delete all files in the target directory hierarchy not present in the source directory hierarchy.

Consider testing this on a copy of the data first or at least with the --dry-run option (or -n) to see what files rsync would remove, and always take frequent backups.

Source Link
Kusalananda
  • 355.9k
  • 42
  • 735
  • 1.1k

The files that you list as Only in ... are all located in the target directory. What this means is that these were there before you ran the rsync command.

If you want to remove those files from the target directory, you may run the rsync command with its --delete option. Doing so would delete all files in the target directory hierarchy not present in the source directory hierarchy.

Consider testing this on a copy of the data first, and always take frequent backups.