How Do I Write a Macro to Delete Folders and Files Within a Given Folder?

Hi, welcome to the forum
Please look at

and then google
"Keyboard Maestro Forum " with file move, then rename, then create and I think you will find plenty of examples.

I suggest you create a small test directory and a backup copy ( so you can repopulate it easilly) for you tests and make sure you do not delete your hard drive by mistake....

Back that up first..... :slight_smile:

The trick to Keyboard Maestro is to treat it like lego and build what you want in small testable steps.

1 Like