Main Area and Open Discussion > General Software Discussion
In need of software to extract images from multiple directories
(1/1)
wetsmellydog:
I thought I would post here before going to coding snacks.
I purchased a bunch of files that are used to cut out shapes. Unfortunately they do not have a catalog of the 184 directories and what are contained therein! The files have numbers and do not represent what they are.
You can see what I am talking about here; layered 3d svg files
The program needs to look for a specific file using wildcards and then copy the directory name and file to a specified directory.
Example; The file string I am looking for is *-01.png which can be found in sub-directory Christmas Trees. I would like to copy the file, rename it to the sub-directory name and place it in a specified directory. The result is c:\christmas ornaments catalog\Christmas Trees.png
I am sure there is a program already out there that can do this simple task. Thanks!
skwire:
My File Punter program can do this.
https://www.dcmembers.com/skwire/download/file-punter/
Let me know if you need help with the regular expression part.
wetsmellydog:
Thanks! I played with File Punter but it is lacking a few specifics that I am looking for.
Here are the files in the directory Angel
10/18/2021 11:41 AM d1060-01.png
10/18/2021 11:41 AM d1060-01.svg
10/18/2021 11:41 AM d1060-02.png
10/18/2021 11:41 AM d1060-02.svg
10/18/2021 11:41 AM d1060-03.png
10/18/2021 11:41 AM d1060-03.svg
10/18/2021 11:41 AM d1060-04.png
10/18/2021 11:41 AM d1060-04.svg
10/18/2021 11:41 AM d1060-05.png
10/18/2021 11:41 AM d1060-05.svg
10/18/2021 11:41 AM d1060.ai
10/18/2021 11:41 AM d1060.dxf
10/18/2021 11:41 AM d1060.eps
10/18/2021 11:41 AM d1060.pdf
I need to copy the file d1060-01.png to a new directory and rename it angel.png after the directory that it was found in.
Each directory has a *-01.png file that is a picture of what the directory contains. I want to copy them into a separate directory and create a catalog of what the directories contain.
I hope this clarifies what I am looking for.
wetsmellydog:
I found this utility. It is free and powerful. It is doing exactly what I needed.
https://www.bulkrenameutility.co.uk/
Navigation
[0] Message Index
Go to full version