With rsync --link-dest, is it possible to determine which files are new?

Kevin Korb kmk at sanitarium.net
Sat Oct 22 13:32:42 MDT 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Well, I had 2 reasons for writing the script...

1.  I wanted to know what was different between 2 backups.  Capturing
- --itemize-changes can certainly do that (I don't remember if my script
pre-dates --itemize-changes or not but it predates my knowledge of it)

2.  I wanted to know what files were unique to a backup and therefore
consuming disk space and why they were different.  If I saw an instance
where the only difference was the inode number then I would be concerned
and investigate why rsync chose to duplicate that file.  I have never
actually witnessed this happening but I only checked for it a few times.

On 10/22/11 15:17, Andrew Gideon wrote:
> On Sat, 22 Oct 2011 12:07:33 -0400, Kevin Korb wrote:
> 
>> If that is the only thing that is different you might be using rsync
>> incorrectly.
> 
> And that's why you left it being reported?  Interesting idea.  Thanks for 
> explaining.
> 
> 	- Andrew

- -- 
~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~
	Kevin Korb			Phone:    (407) 252-6853
	Systems Administrator		Internet:
	FutureQuest, Inc.		Kevin at FutureQuest.net  (work)
	Orlando, Florida		kmk at sanitarium.net (personal)
	Web page:			http://www.sanitarium.net/
	PGP public key available on web site.
~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk6jGloACgkQVKC1jlbQAQevDQCg5Kh5UyR8ymHgXZmlmcSwmNkK
kXIAoJzpMbI8aYZw/OJ9iQEIpee+xpcK
=QeCn
-----END PGP SIGNATURE-----


More information about the rsync mailing list