[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

dir command




(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



Reply to: