ihavegot

asd

Jan 29th, 2020
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. for f in *; do [ -d ./"$f" ] && find ./"$f" -maxdepth 1 -exec echo \;|wc -l|tr '\n' ' ' && echo $f; done|awk '{print $2"\t"$1}'
  2.  
  3. #/!/bin/bash
  4.  
  5. echo "Ilosc plikow: "
  6.  
  7.  
  8. for nazwa in *; do
  9. find $nazwa -type d -exec echo {} \;
  10. find $nazwa -type d -exec find {} -type f \; | wc -l
  11.  
  12. done
Advertisement
Add Comment
Please, Sign In to add comment