How to kill a dir?

Luciano Miguel Ferreira Rocha strange at nsk.no-ip.org
Tue Jan 6 02:34:15 UTC 2004


On Mon, Jan 05, 2004 at 05:29:01PM -0800, Tom Mitchell wrote:
> On Mon, Jan 05, 2004 at 06:09:27PM +0000, WipeOut wrote:
> Start with a simple find or ls to see if you have runaway dir creation.
> 
> 	ls -lRa .  | less
> 	find safer -print | less   
> 	find safer -print | od -x |less 

Actually, I prefer ls -b. prefixed with LANG=C.

Eg:
$ touch àé
$ LANG=C ls -b
\303\240\303\251
$ LANG=C rm ./`echo -e '\303\240\303\251'`
$ LANG=C ls -b
$

Regards,
Luciano Rocha





More information about the fedora-list mailing list