Bug 215510

Summary: argument list is too long
Product: [Fedora] Fedora Reporter: Tim Jowers <timjowers>
Component: coreutilsAssignee: Tim Waugh <twaugh>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 6CC: meyering
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-11-14 09:34:34 EST Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

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.