Created
June 14, 2020 23:53
-
-
Save andreagalle/c17661c25a0b4d0754047deac50b4adb to your computer and use it in GitHub Desktop.
check du before bap on GitHub printing it in MB
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#find . -name "*.mp4" -print0 | du -sb --files0-from=- | awk '{ total += $1} END { print total/1024/1024/1024 }' | |
find data/vtk/ \( -name "b*_mean.vtk" -o -name "b*_pdf.vtk" \) -print0 | du -sb --files0-from=- | awk '{ total += $1} END { print total/1024/1024 }' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment