Move marked files to folders according to their endings

Yes. Just add the folder(s) to the TO= part(s) in your script. No slowdown :slight_smile:

If I add TO="' + folder + '/JPEG/\\0"'; Then How define the Other File Types?
like If I want to Move All .png files to Pictures/PNG folder and All .psd file should Move in to Pictures/PSD folder. then how to write that? If you have time then plz show us the way!

my other solution is add the Sub folder name in to the very first variable
var Folders = { "Pictures/JPEG": [ "jpg" ], "Pictures/PNG": [ "png" ], }
and it's work

i think this is the only logical and easiest way.... or is there something better?

You could use the extensions in the TO path, as an alternative.

It's scripting. You can do whatever you want, really. Use whatever works best for how you want it to function.

Please write some example code; make us better understood