Observations: rm--help:Deleting bulk files using rm
From:
Sathyanesan, Deepak
Subject:
Observations: rm--help:Deleting bulk files using rm
Date:
Mon, 21 May 2007 13:05:47 +0530
Hello,
Mailing the observations:
Steps: Tried to delete 15000 records (all with .xml as file extension)
Version : Red Hat Enterprise Linux WS release 3 (Taroon Update 8)
Error observed: -bash: /bin/rm: Argument list too long
Command used : rm *.xml
alternative found:
find . -name '*.xml' -print0 | xargs -0 rm
Question:
How does rm --help be usefull to a user for these above activities
Thanks
Deepak.k.s
Lead -QA