rsync -vt shows directories considered?

James Berry james at jberry.us
Wed Dec 3 01:27:37 EST 2003


On Dec 2, 2003, at 2:00 AM, jw schultz wrote:

> On Mon, Dec 01, 2003 at 06:21:34PM -0800, James Berry wrote:
>> Passing the -t option to rsync seems to cause -v to show each 
>> directory
>> that is considered, while -v without -t doesn't.
>>
>> Is this a known bug or intended feature? Or is there a way to defeat
>> this? I'd like -v to show the files transmitted, but not the
>> directories that were considered.
>>
>> This command:
>>
>> 	rsync -urzCv ./ desthost:/path
>>
>> ...shows only the files transferred.
>>
>> While this command:
>>
>> 	rsync -urzCtv ./ desthost:/path
>>
>> ...shows all directories that it looked at, and decided not to 
>> transfer
>> files in.
>>
>> (rsync  version 2.5.6  protocol version 26, stock Darwin 10.3.1 
>> build).
>
> For what reason should rsync update the directory inode if
> the ownership and permissions are unchanged unless you are
> preserving mtime?

But the directory inode doesn't need to be updated. It is up to date. 
The directories are displayed each time I run this command (even when 
everything is up to date). I don't get -v output about files that don't 
need to be updated, why should I get -v output about directories that 
don't need to be updated? Any meaningful information about things that 
_do_ happen is getting lost in the morass of information about things 
that _don't_ happen.

-jdb




More information about the rsync mailing list