Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Recursively renaming files...

by footpad (Monsignor)
on Sep 17, 2002 at 22:18 UTC ( #198674=note: print w/replies, xml ) Need Help??


in reply to Recursively renaming files matching specific patterns (was CityCat)

Welcome to the Monastery!

You are correct, this is a pretty commonly asked question. Have you checked some of the available materials? Here are a few possible avenues for you to explore, which I found by spending a few minutes working with some of the basic tools we have available:

  1. Typing rename file into the Search box shown above located these nodes:

  2. Typing Recursive rename into the above Search box lead to a node with the same title, which uses the File::Find (alt.) module mentioned by insensate.

    You may notice that it's in a section called Cool Uses for Perl. We have a few different sections along these lines, each showcasing a variety of Perl techniques that can be adapted for a variety of purposes.

  3. Also, the Files section of Categorized Questions and Answers lists a potentially useful entry: How do I do a bulk rename?

  4. Are you aware of the POD documentation provided with Perl? I noticed that perlfaq5 (which you can read from the command line by typing perldoc perlfaq5) contains an item called How can I reliably rename a file?.

  5. Also, one of our most prolific monks maintains an archive of the magazine articles he's written regarding Perl. Quickly browsing those, I found several that you may find interesting, including:

    Note that these are roughly in order of publication, so you may find the ones at the bottom of the list more helpful than the ones at the top of the list. Remember: Perl is dynamic and "best practices" evolve over time.

  6. Update:1 In another area of the site, Best Nodes, you'll find threads that've gotten the hightest response from the members. You might be interested in this one, which is one of the oldest threads on the site. While a node's appearance on Best Nodes isn't always a sign of node quality, it does indicate a form of appreciation.

    If you choose to continue to participate, you may find these nodes useful as well. /update

As I said, this is a short list. There are many relevant nodes and lots of existing material on the subject. Part of the fun is locating them.

Be sure to also check out some of these nodes; they're designed to help you use the Monastery's resources most efficiently.

--f

1 - How could I forget paco?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://198674]
help
Chatterbox?
[Veltro]: ok, but nm. I meant the solution as a whole actually. Not sincerely the apps that use it
[marto]: and not long ago it wasn't feasible for anyone really to create a finger print of all known music to compare samples against...
[marto]: if you're living in the cloud, you're going to get rained on :P
[Veltro]: feasible in the sense of 'making money'?
[marto]: if your app just calls a remote or third party service to do the task, you app does not 'do the task', it's just a messenger
[marto]: in the sense that for various values of "a while ago" it would not have been possible (and arguable still isn't) to have a fingerprint of every piece of commercially released music to compare against.
[marto]: a co-worker refers to the late 1980s as "a while ago"
[Veltro]: Like I said before, I ment the solution as a whole

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (11)
As of 2018-05-24 12:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?