how to tell what files changed?
Erik Neumann
erikn at myphysicslab.com
Thu Apr 6 02:47:18 GMT 2006
Seems that many of the files I just transferred from Windows to Mac
OS X came across with ***blank creation dates***.
When rsync makes copies on the target, those copies get a creation
date that is equal to the modification date.... therefore the two
files are not the same (the creation date is blank on Mac OS X file,
but is not blank in the target archive), and rsync has to check all
these "blank creation date" files.
It seems that unix doesn't have the concept of creation date for a
file, perhaps this is part of the problem.
So, how to solve this problem? Is there a way to transfer files PC -
> Mac that preserves creation date information? Or is there a slick
unix command that will set the creation date to be equal to the
modified date for all files that have blank creation dates?
BTW, here is the command I've been using:
sudo rsync -E -a -x -S --delete --exclude=Library/Caches --stats
~ /Volumes/backup_40GB
the -a option includes -t so that wasn't the problem.
Thanks for any hints,
--erikn
On Apr 4, 2006, at 11:07 PM, John Van Essen wrote:
> On Tue, 4 Apr 2006, Erik Neumann <erikn at myphysicslab.com> wrote:
>> I'm new to using rsync, so far it is working well. But I want to
>> know what files rsync decided to transfer. Using the -v option lists
>> every sub-folder of my directory and lots of files.
>
> It sounds like you are not preserving the timestamps during the rsync.
> See the "copies every file" item in the FAQ:
>
> http://rsync.samba.org/FAQ.html
>
> and see if that solves your problem. You will need to do another
> "full" rsync to get the timestamps synced, but after that, your list
> of changed files should decrease dramatically.
>
> John
>
>
>
-------------- next part --------------
HTML attachment scrubbed and removed
More information about the rsync
mailing list