Suppose I run an rsync command to mirror a server, but forget to supply the -t option. The mirror will now have different timestamps to the original. What is the easiest way to fix this, without transferring all the files all over again?
Asked
Active
Viewed 1,901 times
4
1 Answers
3
Run the same command again, but include the -c
option. This tells rsync to run an efficient checksum on the file and make the decision to transfer/not-transfer based on the checksum.

Kevin M
- 1,973
rsync --itemize-changes
to see what it is doing exactly. For an explanatian, see the man page. – janmoesen Oct 30 '11 at 22:30