Need help sorting files into existing subfolders

Get help. Get answers. Let others lend you a hand.

Moderator: Mr_Noodle

So I have a few folders where the folder contains a numbers of files that need to be sorted into folders with the same name. For example, if I have a file "2021-08-10 - Photos.zip", and there is an existing "2021-08-10 - Photos" folder, the .zip would sort into the folder. I have figured out how to do this. What I can't figure out is how to avoid creating a new folder if there is no existing folder. So if I have a file "2021-08-11 - Photos.zip" and there is no existing folder of the same name, how do I prevent a new folder from being created? I want to see at the end of the actions all the files that are left that did not have existing folders.

I haven't tried anything yet because I simply don't know where to start. I don't see any options for toggling the creation of folders when they don't exist.

Thanks!
ryanbscripps
 
Posts: 2
Joined: Thu Jan 14, 2021 5:50 am

There's no option for that. One alternative is to set up a list with the valid folders and match against that.
Mr_Noodle
Site Admin
 
Posts: 11195
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City


Return to Support