With automator, I found a script that cleans downloads folder after 30 days. Furthermore I want to improve this with, after 2 days clean the trash. But before cleaning the trash, is it possible to copy file names "meta data" that are going to be erased into a text file. But, I don't want it to create new text file every time.
And you can easily have KM write that data to a text file using the Write to a File or Append to a File actions. If you need examples, search the wiki or forum for those terms.