Welcome, Guest. Please login or register.

Author Topic: How to Delete a files recursively w/ wildcards?  (Read 5217 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline marcfrick2112Topic starter

  • Hero Member
  • *****
  • Join Date: May 2003
  • Posts: 811
    • Show all replies
How to Delete a files recursively w/ wildcards?
« on: April 26, 2011, 09:16:11 PM »
Hey everyone, First , sorry I have been MIA for some time, it's been a rough year for me.

OK, I know one of the UK Amiga magazines posed something like this as a question for readers:

How would I, for example, Delete every icon in a directory , including in all sub-directories?
I know ' DELETE #?.info will delete all icons in that dir...

And why do I need this? Cuz I have a few CD's of MODS and .midi files that were made 'idiot-proof' and all have little scripts and icons... all I want are the &*#^@*%?! .mid and .mod files!

Help me, Amiga sages...

:afro:
---------------
Marc Frick
---------------
A1200T / \'060, 256MB, CD-R, OS3.9
A4000 w/ WarpEngine / 82MB , OS3.1
A4000 16MB, OS 3.9
A1200 , \'030 / 10MB
A1200 (stock)

CD32 :)

...And a very sick 4000T
 

Offline marcfrick2112Topic starter

  • Hero Member
  • *****
  • Join Date: May 2003
  • Posts: 811
    • Show all replies
Re: How to Delete a files recursively w/ wildcards?
« Reply #1 on: April 27, 2011, 05:26:53 AM »
Mizar, Thanks for trying, but.... That command works for the main DIR but doesn't recurse into sub-directories.. I thought it had something to do with an odd usage of the LIST command....

Help me Obi-wan Kenobi, you're my only hope,,'
:laughing:

*sigh*
---------------
Marc Frick
---------------
A1200T / \'060, 256MB, CD-R, OS3.9
A4000 w/ WarpEngine / 82MB , OS3.1
A4000 16MB, OS 3.9
A1200 , \'030 / 10MB
A1200 (stock)

CD32 :)

...And a very sick 4000T