Added a comment: Variant: file/directory size

This commit is contained in:
https://www.google.com/accounts/o8/id?id=AItOawnHRhCe3qwVKQ8_NOGGSYJnAMW6FFyKbOc 2013-07-02 04:02:19 +00:00 committed by admin
parent b9baa1f789
commit 8de74df6d4

View file

@ -0,0 +1,14 @@
[[!comment format=mdwn
username="https://www.google.com/accounts/o8/id?id=AItOawnHRhCe3qwVKQ8_NOGGSYJnAMW6FFyKbOc"
nickname="Holger"
subject="Variant: file/directory size"
date="2013-07-02T04:02:19Z"
content="""
What do you think of the following simpler variant:
% git annex size myfile1.zip
myfile1.zip is 1329 MB
% git annex size mydir/
mydir contains 2803 files totaling 328 GB.
It may be a good idea to store the size of a subtree along with the other metadata. It's not a big overhead and you'd avoid the double run.
"""]]