Bug 215510 - argument list is too long
argument list is too long
Product: Fedora
Classification: Fedora
Component: coreutils (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Tim Waugh
Depends On:
  Show dependency treegraph
Reported: 2006-11-14 08:54 EST by Tim Jowers
Modified: 2007-11-30 17:11 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2006-11-14 09:34:34 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Tim Jowers 2006-11-14 08:54:52 EST
Description of problem:
cannot delete files

Version-Release number of selected component (if applicable):
ls (GNU coreutils) 5.97

How reproducible:
every time

Steps to Reproduce:
1. [root@localhost phpBB2]# ls | grep sid=0 | wc -l
[root@localhost phpBB2]# rm -fr *sid=0*
bash: /bin/rm: Argument list too long
2. Similar for ls *sid=0* | wc -l
3. Similar for rm *sid=0* 
Actual results:
Argument list too long

Expected results:
delete files

Additional info:
Work around is to delete smaller subsets. Takes longer.
Comment 1 Tim Waugh 2006-11-14 09:34:34 EST
Use xargs.

Note You need to log in before you can comment on or make changes to this bug.