Page 1 of 1

Copy and rename files with *.*

Posted: 11 Jan 2007, 16:29
by Guest
Copy a file oldname.txt to another folder with new*.*
The copied file is newname.txt and not as expected newoldname.txt
Bug or feature?

Re: Copy and rename files with *.*

Posted: 11 Jan 2007, 16:33
by ino
Anonymous wrote:Copy a file oldname.txt to another folder with new*.*
The copied file is newname.txt and not as expected newoldname.txt
Bug or feature?
It is the same as in Windows Command Line. So it is windows feature. ;-)

Posted: 11 Jan 2007, 23:00
by zarevak
Hi,
you can use Renamer plugin (from menu Plugins > Renamer > Batch Rename or using CTRL+SHIFT+R hotkey)
Then in the New name field write: "new$(OriginalName)" , check the new names in the Preview part and click Rename

Renamer plugin can be used for more sophisticated renaming, using substrings, dates, counters, regular expressions, and more ...

Re: Copy and rename files with *.*

Posted: 12 Jan 2007, 18:23
by ino
Anonymous wrote:Copy a file oldname.txt to another folder with new*.*
The copied file is newname.txt and not as expected newoldname.txt
Bug or feature?
anyway you can use another wildcard character the question mark "?" which represents one character.

in your exaple:
oldname.txt using new*.* you get newname.txt
oldname.txt using new???????.* you get newoldname.txt

for more examples see this link http://www.google.com/search?num=100&q= ... tnG=Search