[bglug] [BgLug] Il comando FILE

k|b|s kbs@bglug.it
Mer 11 Feb 2009 18:39:26 CET


On Wed, Feb 11, 2009 at 06:17:07PM +0100, Alexander Possov wrote:
> > find . | xargs file

Bella lista: tree -ps

oppure modifica questo:
#!/bin/sh
find "$1"  -type d | while read DIR ; do
  echo "$DIR"
  ls -l "$DIR" | awk -F. '$2 !~/^$/{print $2}' | sort | uniq -c | tr "\n" "," | tr -s " "
  echo
done


oppure ricerce pił mirate con
ack: http://petdance.com/ack/

-- 
ميكائيل


Maggiori informazioni sulla lista bglug