you could try ls -l * | xargs /bin/rm -f
-----Original Message----- From: Jeff Bearer [mailto:[EMAIL PROTECTED]] Sent: Monday, May 20, 2002 8:55 AM To: [EMAIL PROTECTED] Subject: bash: /bin/rm: Argument list too long What is an easy way to delete 9000 files in a directory when rm -f * fails saying the argument list is too long? I'd prefer not to have to do it a little bit at a time like: rm -f a*; rm -f b*; etc. -- Jeff Bearer, RHCE Webmaster PittsburghLIVE.com 2002 EPpy Award, Best Online U.S. Newspaper _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list