Quick way to for each directory in current folder to show its name, then # of inodes under i
Quick way to for each directory in current folder to show its name, then # of inodes under it: find -type d -maxdepth 1 -exec sh -c “echo {}; ls -Ria {} | sed -e ‘s/^ *//’ -e ‘s/ .*//’ -e ‘/^$/d’ -e ‘/^\./d’ | sort -u | wc -l; ” \; For example, […]