DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: In need of software to extract images from multiple directories  (Read 4,676 times)

wetsmellydog

  • Participant
  • Joined in 2007
  • *
  • Posts: 120
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

  • I eat Coding Snacks for breakfast...
  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,297
    • Participated in NANY Challenge Seventeen Times
    • Coding Snacks
    • Superboy Coder
    • Cody Award
    • Volunteers/Staff
    • Gathering Badge
Re: In need of software to extract images from multiple directories
« Reply #1 on: November 06, 2021, 01:56 PM »
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

  • Participant
  • Joined in 2007
  • *
  • Posts: 120
Re: In need of software to extract images from multiple directories
« Reply #2 on: November 07, 2021, 05:52 PM »
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.
« Last Edit: November 07, 2021, 06:35 PM by wetsmellydog »

wetsmellydog

  • Participant
  • Joined in 2007
  • *
  • Posts: 120
Re: In need of software to extract images from multiple directories
« Reply #3 on: November 20, 2021, 12:07 AM »
I found this utility. It is free and powerful. It is doing exactly what I needed.

https://www.bulkrenameutility.co.uk/

Original address: https://www.donationcoder.com/forum/index.php?topic=51887.0