Re: Help: Arg list too long Problem
- From: "Chris F.A. Johnson" <cfajohnson@xxxxxxxxx>
- Date: Sat, 05 Jul 2008 21:55:52 +0000
On 2008-07-05, Ignoramus3578 wrote:
The best solution to delete all .poop files in a directory is
find /my/directory -name \*.poop -exec rm {} \;
Better still, with a recent version of find:
find /my/directory -maxdepth 1 -name \*.poop -exec rm {} +
On 2008-07-04, Amy Lee <openlinuxsource@xxxxxxxxx> wrote:
Hello,
While I'm deleting about 9000 files in a directory, the rm command shows
that error message:
Arg list too long.
Could you tell me how to solve this kind of problem?
Thank you very much~
Regards,
Amy Lee
--
Chris F.A. Johnson, author | <http://cfaj.freeshell.org>
Shell Scripting Recipes: | My code in this post, if any,
A Problem-Solution Approach | is released under the
2005, Apress | GNU General Public Licence
.
- References:
- Help: Arg list too long Problem
- From: Amy Lee
- Re: Help: Arg list too long Problem
- From: Ignoramus3578
- Help: Arg list too long Problem
- Prev by Date: Re: Distance to W-LAN points
- Next by Date: suitable tiny hardware for running Linux on portable rugged client devices
- Previous by thread: Re: Help: Arg list too long Problem
- Next by thread: Re: Crontab: Do something exactly every 3 week on Tuesday?
- Index(es):
Relevant Pages
|