[huskerlug] Re: I ran into my first case of having too many files to rm on.

  • From: Jim Worrest <jworrest@xxxxxxxxxxxxxxxx>
  • To: huskerlug@xxxxxxxxxxxxx
  • Date: Fri, 04 Jun 2010 00:17:30 -0500

Interesting problem, something mv * all to trash, and then use the
command to clean out the trash, then remove the unneeded directory?  No
doubt there might be a faster or easier way of doing things, so far I
haven't ran into that challenge, and I am surprised what you did would
take so long.

Martin Wolff wrote:
> Hi,
> I thought this might be an interesting discussion.
>
> Today, for the first time, I ran into a situation where GNU program couldn't
> handle me.  I had run "rm ./*"  on a directory and it failed because it had
> too many arguments (more than 100,000 files existed.).
> I then realized that I could just delete the directory just by doing rm -r
> directorynamehere
> It was only 11 GB in size, but it took forever to delete. I was just curious
> if there were any obvious things I should have done differently.  Perhaps
> there is a better way to trash > 138,000 files?
>
>
>
> ----
> Husker Linux Users Group mailing list
> To unsubscribe, send a message to huskerlug-request@xxxxxxxxxxxxx
> with a subject of UNSUBSCRIBE
>
>
>
>   

----
Husker Linux Users Group mailing list
To unsubscribe, send a message to huskerlug-request@xxxxxxxxxxxxx
with a subject of UNSUBSCRIBE


Other related posts: