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.
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.
| [reply] [d/l] [select] |
|