[Bug 105543] Re: /bin/rm refuses to remove files

matteo sisti sette 105543 at bugs.launchpad.net
Thu Oct 10 18:25:38 UTC 2013


The status of this bug is absurdly wrong.
This IS a bug, "rm -f *" is not too long a command line, and rm must provide a way to remove all files in a folder no matter how many they are. If it's not a bug in bash it's in rm, but I don't know what package that is in

** Changed in: bash (Ubuntu)
       Status: Invalid => New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to bash in Ubuntu.
https://bugs.launchpad.net/bugs/105543

Title:
  /bin/rm refuses to remove files

Status in “bash” package in Ubuntu:
  New

Bug description:
  I'm running Ubuntu Edgy
  When I'm trying to remove many files from a folder with the command
     rm test_displacement/*.png
  it says 
     bash: /bin/rm: Argument list too long

  Nevertheless, the command
     rm test_displacement/1641.png
  works fine

  also, the following works:
  cd test_displacement; rm *.png

  In the folder test_displacement there are 5002 files and 5001 of them are of the form *.png
  The file system is ext2

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bash/+bug/105543/+subscriptions



More information about the foundations-bugs mailing list