Sample Header Ad - 728x90

rsync vs mtime and ctime

3 votes
2 answers
2643 views
I've been using rsync for Android to backup my phone to a remote NTFS filesystem on a Linux system for a while. Recently, the HDD containing the NTFS filesystem has started to fail (or throw "I/O Errors") so I took the opportunity to copy all the files onto a new HDD and new NTFS filesystem. In this instance I used the "FastCopy v2.11" tool for Windows. My problem is that when I do an rsync "dry run" I can see that it wants to recopy files which already exist on the remote rsync folder. For example, when I run with "-iv" I get this kind of output: ls -l to check the modified time). Given that I recently copied the remote rsync files from an old NTFS filesystem, the remote file's ctime is different (using ls -lc). Does rsync look at the remote ctime, and if so is there any way I can use rsync, or ntfs-3g to get around this problem?
Asked by wombat (31 rep)
Nov 10, 2013, 11:18 PM
Last activity: Apr 30, 2025, 12:08 AM