Article:
  Learning the Terminal in Jaguar, Part 1
Subject:   deleting large numbers of files
Date:   2003-05-02 16:32:48
From:   anonymous2
I somehow managed to DL 266,561 files that are all zero K in size and end in .mov. This was the result using a bulk downloading program.


I am wondering if I can delete a range of files using rm.


ex: rm 0.mov-99999.mov
or something?


Finder freezes if I try and open the folder containing the 266,000 files, so I can not drag them to the trash.


Thanks

Full Threads Oldest First

Showing messages 1 through 1 of 1.

  • deleting large numbers of files
    2003-06-03 15:48:58  anonymous2 [View]

    I have had success with "rm -rf" for many "untrashable" files.Open terminal

    sudo rm -rf

    Leave the cursor one space from end of -rf .Then drag the folder containing the files onto the terminal window and it will automatically enter path. The cool thing is the -rf modifier will recursively delete all the files and folders!