Bug 215510 - argument list is too long
Summary: argument list is too long
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: coreutils
Version: 6
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Tim Waugh
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-11-14 13:54 UTC by Tim Jowers
Modified: 2007-11-30 22:11 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-11-14 14:34:34 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Tim Jowers 2006-11-14 13:54:52 UTC
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
7394
[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 14:34:34 UTC
Use xargs.


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