Project Aon Git Repositories
/
project-aon.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
3e58a0052a0b6dee0a7d97a3697a657ee357c34f
[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
find . -name "$1.*" \
7
| grep -v "\.svn\|\.xml" \
8
| xargs ls -lh \
9
| awk '{print $5 "\t" $9}'