Welcome, Guest. Please login or register.

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

Description:

0 Members and 1 Guest are viewing this topic.

Offline Thomas

Re: How to Delete a files recursively w/ wildcards?
« on: April 27, 2011, 10:32:26 AM »
Quote from: marcfrick2112;633769
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:


list >ram:script all files p=#?.info lformat="delete *"%p%n*""
execute ram:script