topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Tuesday December 7, 2021, 12:13 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

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

wetsmellydog

  • Participant
  • Joined in 2007
  • *
  • Posts: 120
    • View Profile
    • Donate to Member
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

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,239
    • View Profile
    • Donate to Member
Re: In need of software to extract images from multiple directories
« Reply #1 on: November 06, 2021, 08:56 AM »
My File Punter program can do this.

https://www.dcmember...ownload/file-punter/

Let me know if you need help with the regular expression part.

wetsmellydog

  • Participant
  • Joined in 2007
  • *
  • Posts: 120
    • View Profile
    • Donate to Member
Re: In need of software to extract images from multiple directories
« Reply #2 on: November 07, 2021, 11:52 AM »
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, 12:35 PM by wetsmellydog »

wetsmellydog

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

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