Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- (IFS='
- ';
- dot="."
- for dir in `find -maxdepth 1 -type d`; do
- if [ "$dir" = . ] ; then
- continue;
- fi
- cd "$dir";
- #echo "$dir";
- cnt=`find -type f | wc -l`
- echo "$cnt $dir";
- cd ..;
- done;
- )
- #watch -n 2 /home/satya/Documents/fileCnt.sh
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement