Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^2: Renaming files in dir

by larus (Acolyte)
on Mar 19, 2009 at 08:57 UTC ( #751647=note: print w/ replies, xml ) Need Help??


in reply to Re: Renaming files in dir
in thread Renaming files in dir

Thanks, scandinavian characters are not the problem, the code I posted produces right substitutions. The problem is that I don't know how to save (replace) those files in the same directory with the new (chars substituted) names.


Comment on Re^2: Renaming files in dir
Re^3: Renaming files in dir
by bart (Canon) on Mar 19, 2009 at 09:16 UTC
    The problem is that I don't know how to save (replace) those files in the same directory with the new (chars substituted) names.
    Like I said: use the full path for both arguments (old and new name) for move/rename, or chdir to that directory first, and use just the bare filename.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://751647]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (10)
As of 2014-12-25 23:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (163 votes), past polls