You are not logged in.
Hello,
I have copied one folder from one HDD to another HDD using cp. Now I'd like to be able to keep them synced using rsync. But everytime I run rsync, it wants to copy all the files. For example, if I execute:
rsync -rnv source_folder destination_folderthen it displays the name of all the files, as if they were all different files...
I've confirmed that the files have the exact same names and same sizes though; however, the dates (creation date / access date / modification date) are not the same. Maybe that's the problem? Is there a way to sync those dates only without copying the files themselves? It's a 200Go folder containing hundreds of videos, so I'd really like to avoid copying the files once again.
Thanx for any help!
Last edited by LithoUser (2022-04-28 09:18:26)
Offline
Nevermind, I've finally found it by myself; I can sync the timestamps and compare files on size only, using the following command:
rsync -vrtpi --size-only source_folder destination_folderLast edited by LithoUser (2022-04-28 09:18:45)
Offline