Merge branch 'master' of ssh://git-annex.branchable.com

This commit is contained in:
Joey Hess 2013-03-11 01:37:58 -04:00
commit e7da1dfd29
3 changed files with 48 additions and 0 deletions

View file

@ -0,0 +1,19 @@
[[!comment format=mdwn
username="http://joeyh.name/"
nickname="joey"
subject="comment 3"
date="2013-03-11T05:27:38Z"
content="""
You can now use \"git annex status .\"
Example:
<pre>
git annex status roms
directory: roms
local annex keys: 1
local annex size: 248 megabytes
known annex keys: 277
known annex size: 12 gigabytes
</pre>
"""]]

View file

@ -0,0 +1,21 @@
[[!comment format=mdwn
username="http://joeyh.name/"
nickname="joey"
subject="comment 11"
date="2013-03-11T05:31:04Z"
content="""
I don't want to steal gadu's thunder, and I really quite like having an ecosystem of tools develop around git-annex.
With that said, \"git annex status .\" now shows the disk used for all files in the current directory and below. It also shows the number of keys, and the total amount of disk those keys would use.
Additionally, you can use all the standard git-annex file limiting options. For example, here I'm finding out how much disk space is used by files located on a *remote* system:
<pre>
git annex status . --in turtle
directory: .
local annex keys: 0
local annex size: 0 bytes
known annex keys: 10
known annex size: 3 gigabytes
</pre>
"""]]

View file

@ -0,0 +1,8 @@
[[!comment format=mdwn
username="http://joeyh.name/"
nickname="joey"
subject="comment 12"
date="2013-03-11T05:33:09Z"
content="""
BTW, I think gadu still has its own uses, due to having a du like output, that can list space used by subdirectories. You can do that with git annex status *, but it's much more verbose, and doesn't show a break down by deeper subdirectories.
"""]]