http://www.perlmonks.org?node_id=11112701


in reply to glob a folder of images, and open text doc, find the matches and move the images.

Dont assume your program is correct

This is how your rename files, make a list of renames, then you human review the list for any mistakes, then finally do the rename

Re: how to deal with incorrect command line argument

Re: Multiple File Rename

do not attempt renaming but first generate a list of moves and then review that list

  • Comment on Re: glob a folder of images, and open text doc, find the matches and move the images.

Replies are listed 'Best First'.
Re^2: glob a folder of images, and open text doc, find the matches and move the images.
by flieckster (Scribe) on Feb 10, 2020 at 01:56 UTC
    Hi there, i know, i posted this as a more complete code, rather then all the extra print, and commented out moving just for sake of cleanliness.