Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- mkdir test
- mkdir test/empty1
- mkdir test/subdir
- mkdir test/subdir/empty2
- echo -n abcdefghijklmno > test/subdir/file2.txt
- echo -n abcdefghij > test/file1.txt
- find test -type f -exec sh -c 'stat --format=%s "{}"' \; | awk '{s+=$1} END {print s}'
- rm -rf test
Add Comment
Please, Sign In to add comment