terça-feira, 11 de novembro de 2008

Apagar arquivos vazios

O comando é:

$ find ./ -empty -exec rm {} \;

Abaixo é um exemplo com filtro por extensão (txt)

$ find ./ -name "*.txt" -empty -exec rm {} \;

2 comentários:

Anônimo disse...

This info is worth everyone's attention. How can I find out more?
Also visit my weblog - chelsea fc latest transfer news

Anônimo disse...

I do not even know the way I ended up right here, however
I thought this submit used to be good. I don't recognise who you are but certainly you are going to a famous blogger for those who are not already. Cheers!
Take a look at my web page - perfumes