Count files in subdirs
Aliased to "lll", you may put this in your .bash_aliases
alias lll='for i in *; do echo "`ls -1aRi "$i" | awk "/^[0-9]+ / { print $1 }" | sort -u | wc -l` $i" ; done | sort -n'
This may be usefull, if your need to find the directory which causes rsync to be very slow...
Written by Andre Timmermann
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Related Tags
#bash
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#