ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

DonationCoder.com Software > Finished Programs

DONE: Organize files into folders based on flename wildcard parsing

(1/16) > >>

mickblu:
I am looking for a very specific organizational ability, namely this:

I have a huge directory (51GB and growing) of images (but I wouldn't want the solution to be image-file specific).

I need to parse the filenames in this directory using standard grep / wildcard rules and then create a series of file folders labeled as per the parsing rule and move all matching files into that subfolder. So for example, if I had a range of files called

BobsPhoto_ABC_0001.jpg    through    BobsPhoto_ABC_0251.jpg

and then similar files but for different names with varying numbers of files, thus

BobsPhoto_AAB_0001.jpg    through    BobsPhoto_AAB_0147.jpg
BobsPhoto_BFG_0011.jpg    through    BobsPhoto_BFG_0025.jpg
BobsPhoto_XMC_0009.jpg    through    BobsPhoto_XMC_4252.jpg
etc.

I would like all the ABC files in the .\ABC folder, all the AAB files in the .\AAB folder etc. or wherever I specified the folders should go.

In an absolutely perfect world there would be a csv file containing

'ABC','Smith, Mary'
'AAC','Brown, Joan"
etc.

and it would create the destination directories according to those rules (if the csv file is present, otherwise name the directories ABC, AAC etc)

If someone knows of a readily available solution (preferably freeware! :Thmbsup:) I'd love to hear about it. All my Googling has produced numerous solutions, none of which do quite what I want.

skwire:
Are all the original files in one source folder?

mickblu:
Yes they are.

skwire:
By chance, have you checked out Skrommel's MoveOut?

https://www.donationcoder.com/Software/Skrommel/index.html#MoveOut

If that doesn't do it for you, I'll write you a custom app.

mickblu:
Hi skwire,

I checked out Moveout and it is indeed closer than much else I have found other than perhaps RoboBasket whose author says it can do the job. He said (In your case you can use the "Move to" action and check the "sort into subfolder" option , insert the "name.part2"  substring into the text box. ), but it certainly isn't intuitive as to why I need to do what he said (nowhere is defined what the name, name.part1, name.part2, name.part3, name.lastpart substrings refer to or even where or how one can define them). The software should (if it's designed properly) not need a manual for all but the intellectually challenged  :-\) or it isn't written well enough, IMHO.

MoveOut (as far as I can see) lacks the ability to create the necessary sub-folders and then move the files that meet the wildcard criteria into the self-named newly-created folders.

Did I miss something?

Mike

Navigation

[0] Message Index

[#] Next page

Go to full version