Summary files size.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Sat, 13 Nov 2010 12:54:21 +0200
changeset 697 454bc71092a7
parent 696 0beb67c633df
child 698 fb36dccd5b1c
Summary files size.
fs.rst
--- a/fs.rst	Fri Nov 12 22:27:30 2010 +0200
+++ b/fs.rst	Sat Nov 13 12:54:21 2010 +0200
@@ -126,3 +126,8 @@
   http://freshmeat.net/projects/rfstool/
 
 
+* Summary files size.
+
+  $ find . -type f -iname "*.log" -print0 | du --files0-from=- -c -m | tail -n 1 \
+      | (read first rest; echo $first)
+