bug#43657: rm does not delete files

2020-10-15 Thread Bob Proulx
close 43657 thanks Paul Eggert wrote: > On 9/27/20 8:58 PM, Amit Rao wrote: > > There's a limit? My first attempt didn't use a wildcard; i attempted to > > delete a directory. > > 'rm dir' fails because 'rm' by default leaves directories alone. > > > My second attempt was rm -rf dir/* > > If

bug#43657: rm does not delete files

2020-09-28 Thread Paul Eggert
On 9/27/20 8:58 PM, Amit Rao wrote: There's a limit? My first attempt didn't use a wildcard; i attempted to delete a directory. 'rm dir' fails because 'rm' by default leaves directories alone. My second attempt was rm -rf dir/* If "dir" has too many files that will fail due to shell

bug#43657: rm does not delete files

2020-09-27 Thread Paul Eggert
On 9/27/20 1:00 PM, Amit Rao wrote: rm /path/* does not delete files if there are a lot (say 2000) of them in a single directory What does the command do instead? There is a limit as to how many arguments you can pass to 'rm'. If that's what you ran into, it's a problem with your kernel or

bug#43657: rm does not delete files

2020-09-27 Thread Amit Rao
rm /path/* does not delete files if there are a lot (say 2000) of them in a single directory version is 8.32 on ubuntu 20.04