recursive directory
Dave Mitchell
davem at iabyn.com
Sat May 14 08:18:19 UTC 2005
On Fri, May 13, 2005 at 08:11:45PM -0700, Lokrin wrote:
> I just checked. No, they are not the same inode. I think some program
> got out of hand and just kept making them.
In that case you want a recursive delete that's not depth-first, eg
#!/bin/sh
while [ -d foo/foo ]; do mv foo/foo foo-; rmdir foo; mv foo- foo; done
--
"The GPL violates the U.S. Constitution, together with copyright,
antitrust and export control laws"
-- SCO smoking crack again.
More information about the fedora-list
mailing list