ignore DOT and LOG files
[project-aon.git] / common / scripts / list-file-sizes.sh
1 #!/bin/sh
2 # List the file sizes of a book, should be executed in a parent directory of
3 #   all the files to be found
4 # Usage: list-file-sizes.sh bookcode
5
6 du -h `find . -path "*xhtml-less-simple*$1"`
7 find . -name "$1.*" \
8     | grep -v "\.svn\|\.xml\|\.dot\|\.log" \
9     | xargs ls -lh \
10     | awk '{print $5 "\t" $9}'