Created
May 19, 2016 22:48
-
-
Save kevinrobinson/5c55d540f214db5e58edfdc0b90a6efc to your computer and use it in GitHub Desktop.
Script to generated JSON for TensorFlow codebase visualization
This file contains 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
WORKING_DIR=~/Desktop # or whatever | |
du -a tensorflow > $WORKING_DIR/du-out.txt | |
cat $WORKING_DIR/du-out.txt \ | |
| grep -v node_modules \ | |
| grep -v tensorboard/ \ | |
| grep -v examples/ \ | |
| grep -v models/ \ | |
| grep -v tools/ \ | |
| grep -v g3doc/ \ | |
> $WORKING_DIR/du-out-stripped.txt | |
wc -l $WORKING_DIR/du-out-stripped.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment