do not update dirtimes on --include='*/' --exclude='*'

Francis.Montagnac at Francis.Montagnac at
Tue Mar 12 10:46:20 MDT 2013


On Mon, 11 Mar 2013 23:17:06 +0100 Mark Casey wrote:

> On 3/11/2013 4:18 PM, Mark Casey wrote:
>> rsync -nav --no-t --numeric-ids --relative --include='*/' --exclude='*' \
>>   /media/mnt/files /media/backups/mnt/
> I was wrong. The command I listed is working after all, I just wasn't 
> evaluating the results correctly. Sorry for the extra noise.

Using --omit-dir-times instead of --no-t would also work (I think)
while preserving the modtime of the new or renamed directories.

Francis.Montagnac at

More information about the rsync mailing list