Listing all files in a folder containing multiple nested subfolders /files +/- conditions

I have folder (let's call it "original parent folder") containing many nested sub-folders which each contain many files.

Is it possible to create a macro to list all the files contained in the original parent folder (including subfolders) without displaying the actual subfolders ?

If so, is it possible to add conditions, like created in the past day ?

thanks in advance for your time and help

Try this:

List Recent Files Recursively.kmmacros (20 KB)

Macro screenshot

2 Likes

It does not work. In addition, I think that there is a misunderstanding: totally my fault and I apologize. I was expecting the files to be displayed in a file manager so that I can copy / move / drag and drop them. thanks very much and again, sorry.

Did you add your path to the green action? If not, do that and try again. You'll see that it lists the files.

If you want to show these files in Finder, you can do the following:

  • In your parent directory, hit ⌘F.

  • Hit the + button on the right.

  • Select: Created date, within last, 1 days

  • Hold ⌥ and click the next + button.

  • Select None, Kind and Folder.

This will display every file within the parent directory and its subfolders, created within the past day, that is not a folder.

3 Likes

yes, I had entered the path.
Your Finder solution is fantastic. Exactly what I was looking for. I did not even know that ⌥ + existed.
thanks a million

1 Like