I have a shortcut that takes a picture of a return ticket from the postoffice, and saves it to a /shortcuts/ticket/ folder on iCloud drive. (f.e. return receipts for items returned to online stores)
files are names yyyymmdd-receipt-for-storexxx.jpeg
What I’d like to add is a separate shortcut that is able to retrieve a file list, and delete the files I no longer need. So basically: retrieve file list -> sort list by name -> multi select entries -> delete selected entry files from the folder.
Does anyone know how to do this?