Page 1 of 1

Rename *.* to dotted.name.*

Posted: 02 Apr 2011, 16:01
by mdruiter
I had three files with names of the form somename.* : equal names but different extensions. I wanted to rename them to, say, some.name.* : keep the extension but change the name, which contains a dot. So I selected the files, pressed F6, typed some.name.* and pressed Enter. But... it turned out that Salamander renamed the first file to some.name and it wanted to rename the other files to some.name as well... :?
I think I can follow the thing technically, but of course it's not what I meant to do!
Can this be improved please? Or at least detect that the .* will be discarded at all, and warn the user that he probably means something else. :idea:

The opposite, renaming some.name.* to somename.*, does work as expected.

Re: Rename *.* to dotted.name.*

Posted: 02 Apr 2011, 18:15
by SelfMan
You should try the renamer plug-in which is much much powerfull. (ctrl+shift+r)

Re: Rename *.* to dotted.name.*

Posted: 02 Apr 2011, 19:06
by Ether
I'd like to point out that the newname.* convention comes from the age of 8.3 names and doesn't bear any semantic for filenames containing more (or no) dots. Because of this, I think a warning (like the one when a fixed name is entered for multiple files, or maybe just a bubble) is appropriate when entering such mask as some.name.*.

Re: Rename *.* to dotted.name.*

Posted: 03 Apr 2011, 14:05
by mdruiter
Yes, I know about the wonderful Renamer plugin.
But Joe User will be surprised by the F6 behavior I encountered.

Re: Rename *.* to dotted.name.*

Posted: 03 Apr 2011, 14:14
by SelfMan
As ether said, you get the same behavior if you try the rename command from command line.
i.e "A duplicate file name exists, or the file cannot be found." as the extension is cut away.

Re: Rename *.* to dotted.name.*

Posted: 03 Apr 2011, 14:46
by mdruiter
That's no reason to leave Salamander as it is.
I have 'the' extension displayed separately, but sometimes I do use dots in the file names. Changing a bunch of file names at once is intuitive, except when the target file name contains dots.
I'm sure it can be improved without breaking other existing functionality.

Re: Rename *.* to dotted.name.*

Posted: 04 Apr 2011, 07:34
by Jan Rysavy
Petr plan to review mask handling procedure in Altap Salamander, he has this issue on to-do list. Thank you.

Re: Rename *.* to dotted.name.*

Posted: 05 Apr 2011, 02:11
by SvA
Consistency is a very importent aspect of a user interface. So, if you do anything different from Windows in wildcard hanling, do it in a way that is distinct from Windows' way (i.e. can easily be distinguished from what they did in any other interface to te filesystem. In other words, if I do the same, I expect to get the same results, regardless of what program I do it in).

Re: Rename *.* to dotted.name.*

Posted: 05 Apr 2011, 04:26
by therube
(So much that I see in W7 is just soooo inconsistent, it make we wonder. Often.)