rsync -vt shows directories considered?
jw at pegasys.ws
Wed Dec 3 13:27:20 EST 2003
On Tue, Dec 02, 2003 at 09:30:55AM -0800, James Berry wrote:
> On Dec 2, 2003, at 8:52 AM, Wayne Davison wrote:
> >On Tue, Dec 02, 2003 at 06:27:37AM -0800, James Berry wrote:
> >>But the directory inode doesn't need to be updated. It is up to date.
> >If the modified time of the directory is not identical, it gets
> >just like any other file. If it is identical, you won't see it
> >mentioned. Unfortunately, there's no way to tell rsync to ignore the
> >timestamps of directories while updating the timestamps of files.
> Okay. So I see why the directories are being listed: the time on them
> really is different, and it's not being updated. But shouldn't rsync be
> setting this time? Shouldn't the time on the directory be set by rsync?
> This is an HFS volume.
Rsync should only set the time on a directory if the -t
option is used. Without -t the directory's mtime will not
be set so will either be what it was before rsync ran or the
time when the last directory modification caused by rsync or
any other process.
J.W. Schultz Pegasystems Technologies
email address: jw at pegasys.ws
Remember Cernan and Schmitt
More information about the rsync