I have this from time to time and I think the way I did it is remove the
files 1 at a time using this command:


find /bad/directory/* -print -exec rm -fr {} \; 


I suggest you be very careful on this though.. I haven't had a problem but 1
typo can make the difference.
I suggest changing the `rm -fr` to a `ls -l` and make sure it display the
files you want to remove and then use the real command


thanks,
George Vieira
Network Administrator
http://www.citadelcomputer.com.au
PGP Fingerprint :       43DC 92AC 1A82 27B2 E97B  52F1 B60F 301A 38A9 A10C
PGP KeyID:              0x38A9A10C

-----Original Message-----
From: Howard Lowndes [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 29, 2000 8:33 AM
To: Mail List - SLUG
Subject: [SLUG] Help with rm


I have managed to runout of inodes on a partition du to a buggy routine.

I know what I want to delete, but when I do rm -f * in the problem
directory it comes back with "Argument list too long"

Can anyone think of a way around this one?

-- 
Howard.
______________________________________________________
LANNet Computing Associates <http://www.lannet.com.au>



--
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug


--
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug

Reply via email to