pinniped schreef:
(quote) To get sizes, du is the obvious choice, but you could do the ridiculous: $ find . -type f -exec cat {} \; | wc -c (end quote) I do the slightly less ridiculous: for X in $(find . -name '*'); do du -b $X >> mylogfile; done
Which still uses du. One could also do find . -type f -exec ls -l {} \; | awk '{save=save+$5; print save}'
--To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]