DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: [IDEA] Selective file deleter  (Read 5,761 times)

alooper21

  • Participant
  • Joined in 2007
  • *
  • Posts: 5
[IDEA] Selective file deleter
« on: December 25, 2007, 10:02 PM »
don't know if this is an easy task, for one hour programming, or not, but this kind of application can be one of the most useful kinds that exists, still i didn't fount something done yet: a selective multiple file deleter. the idea came to me after using another application which renames multiple files based on user created rules. why not delete files in the same way? for example delete all the files having the extension *.etc in folder x, y and z. or all the files/folders containing numbers in their names.

jgpaiva

  • Artificial Idiocy
  • Global Moderator
  • Joined in 2006
  • *****
  • Posts: 4,727
    • Cody Award
    • Participated in NANY Challenge Once
    • Coding Snacks
    • Portugal Inhabitant
    • Linux User
Re: [IDEA] Selective file deleter
« Reply #1 on: December 26, 2007, 09:07 PM »
Do you want this to work with regular expressions matching or simple boolean search?

(possibly, regular expressions might be easier to implement)

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: [IDEA] Selective file deleter
« Reply #2 on: December 26, 2007, 09:14 PM »
This might be relevant as well:
http://www.donationcoder.com/forum/index.php?topic=3735

Original address: https://www.donationcoder.com/forum/index.php?topic=11493.0