Added a comment: Variant: file/directory size
This commit is contained in:
parent
b9baa1f789
commit
8de74df6d4
1 changed files with 14 additions and 0 deletions
|
@ -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.
|
||||||
|
"""]]
|
Loading…
Add table
Add a link
Reference in a new issue