[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: tamanho dos diretorios com o DU



Em Quinta 17 Maio 2007 18:09, Felipe Ribeiro escreveu:
> Sera que teria algo para dir's ocultos?
>

Não sei se tem algo mais prático... Mas eu fiz um "script" pra isso:

for i in `ls -a`; do\
if [ -d $i ]; then\
 if [ $i != '.' ]; then\
  if [ $i != '..' ]; then\
   du -hs $i;\
  fi;\
 fi;\
fi;\
done;

[]s

-- 
Davi Vidal
davividal@siscompar.com.br
davividal@gmail.com
--
"Religion, ideology, resources, land,
spite, love or "just because"...
No matter how pathetic the reason,
it's enough to start a war. "

Attachment: pgpDOFVEsZcjk.pgp
Description: PGP signature


Reply to: