With rsync --link-dest, how can you tell how much space is actually used?

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


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

lol, I have been doing rsync based backups since sometime in 2000.  I
have learned a few tricks.

On 10/23/11 00:00, Eric Shubert wrote:
> On 10/22/2011 08:49 PM, Eric Shubert wrote:
>> How sure are you of that? I guess I assumed that -s would simply
>> summarize the total for each directory entry. Should probably do a test
>> to see if that's indeed true or not.
>>
> 
> Thanks Kevin. You are the wise one:
> testdir$ ls -lr *
> -rw-r--r-- 3 shubes shubes 1048576 2011-10-22 20:52 testfile2
> -rw-r--r-- 3 shubes shubes 1048576 2011-10-22 20:52 testfile1
> 
> testdir2:
> total 1024
> -rw-r--r-- 3 shubes shubes 1048576 2011-10-22 20:52 testfile21
> testdir$ du -shc *
> 1.1M    testdir2
> 1.1M    total
> testdir$
> 
> I really need to quit assuming. You'd think at my age I'd've learned
> better.
> 
> Long live du. :)
> 

- -- 
~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~
	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/

iEYEARECAAYFAk6jkh4ACgkQVKC1jlbQAQfU3gCg6h9TCxivRigAFUvT++moWLKP
qd8AmwW9HsEf3f8qcQG9HwTZXmw5xov/
=Qppe
-----END PGP SIGNATURE-----


More information about the rsync mailing list