aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar http://edheil.wordpress.com/ <http://edheil.wordpress.com/@web>2012-11-28 20:59:39 +0000
committerGravatar admin <admin@branchable.com>2012-11-28 20:59:39 +0000
commit5c132cc7ad03d9115ec771ced5dd21b20bb57f79 (patch)
tree2dfab25614ce79e06118a3d08e18680b8f22088e
parent34c84ebf8eac2d4b61e2ba04b87dc2be321c20d4 (diff)
-rw-r--r--doc/forum/__34__du__34___equivalent_on_an_annex__63__.mdwn5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/forum/__34__du__34___equivalent_on_an_annex__63__.mdwn b/doc/forum/__34__du__34___equivalent_on_an_annex__63__.mdwn
new file mode 100644
index 000000000..7485958c0
--- /dev/null
+++ b/doc/forum/__34__du__34___equivalent_on_an_annex__63__.mdwn
@@ -0,0 +1,5 @@
+One reason to use git-annex is to save disk space by tossing files you don't use that often.
+
+I can find big files in the repository with git annex find --largerthan=100M, but is there a way to find large *directories*? In an ordinary filesystem I'd use "du -h" with a maxdepth to get an idea of what parts of a directory are taking up my disk space, but obviously that won't work with git annex because all the content is in .git/annex. Any ideas?
+
+(I can get a listing of file sizes in a directory with the handy -L flag of ls -- "ls -lL" shows me the sizes of the link targets -- but that won't summarize all the sizes of subdirectories. Unless my ls-fu is just weak.)