So, I logged on briefly during my vacation to start a transfer of some 12 TB of data between machines using scp compiled for high performance networks. Unfortunately I omitted the flag to preserve modification times. It's not critical but I'm wondering if there's a nice way to get them back.
My first thought was to simply rsync the files from source to target with the archive flag set; since they already exist on the target, rsync should only need minimal effort to check that it's all there and then simply update the mod time. However, doing this takes nearly as long as the initial file transfer did, perhaps because the individual files are rather large (some 80 GB each.)
Encryption is not necessary for the transfer, so I was looking to turn that off. So far the only way I've found to do that is by using an rsync daemon on the target machine and then rsync over using that method. It might be an option but if possible I'd rather avoid messing about with that particular machine.
My main question is: can I "fix" the time stamps on the target
machine without either using rsync-daemon, or transferring the files all over again?
Cheers.
Bookmarks