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: SOLVED: Why it pays to think first - duh!  (Read 6,253 times)

argotesikar

  • Participant
  • Joined in 2014
  • *
  • Posts: 2
SOLVED: Why it pays to think first - duh!
« on: March 18, 2014, 03:23 AM »
I was going to ask if anyone had heard of software that carries out the functions listed below.

THEN I STOPPED AND THOUGHT ABOUT IT!!!

And realised that if I took one step BEFORE another one, the renamer software I use now will carry out this task very well.

So I didn't really need to type all this in, but continued as it's an object lesson to carry out the action in the Subject line BEFORE bursting into print.

[STARTBLURB]
Does anyone know of a program for Windows XP - or a macro within Excel - to accomplish the following:

1.  Scan/read a list of same-named and numbered filenames and identify numbers missing.
2.  Get files from a similarly named and numbers file list, and rename them according to the numbers missing from the first list.

I deal with thousands of image files named with widely varying filenames: 3246563_7354.jpg, gd7_766543OP.jpg, demo756.jpg or whatever the owner has named them.

I use a file renamer to name them similar to this:  tractor-0001.jpg ...to.... tractor-9999.jpg

Then I use an duplicate image finder and delete .. um .. duplicates.

After that I can't use my renamer software to fill in the missing numbers as it tells me "Number already exists."
[/STARTBLURB]

Solution:

If I use the duplicate image finder first, I can then rename to my heart's content in consecutive order.

Many thanks guys, you've helped enormously.  ;D  ;)  :-[

Disclaimer:  My spelling of some words are how it's done where I live - it's NOT wrong.

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: SOLVED: Why it pays to think first - duh!
« Reply #1 on: March 18, 2014, 11:22 AM »
Hi, argotesikar, and welcome to the DonationCoder forum.  :D  Since you've solved your own request, I'm going to move this thread to the Finished board.  :Thmbsup:

argotesikar

  • Participant
  • Joined in 2014
  • *
  • Posts: 2
Re: SOLVED: Why it pays to think first - duh!
« Reply #2 on: March 18, 2014, 09:07 PM »
Many thanks skwire.

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