I wrote a shell script which allow to list files and only files in all of
subdirectiories of current directory. I don't know if it useful but it nice piece of shell code:
#!/bin/sh
for i in `find $PWD -maxdepth 1 -type d`
do
(cd $i; echo $i; find -maxdepth 1 -type f| wc -l)
done
No comments:
Post a Comment