move in place issue (Single Folder/Multiple Folder)
Moderators: Hacker, petermad, Stefan2, white
move in place issue (Single Folder/Multiple Folder)
When i want to move/rename (+F6) a single folder if I use a template like target.*. TC complain about existing folder.
If i do the same with multiple folder all works as expected -> the content of all folder are moved into target folder.
Why different behavior for the same command ?
How to have the same result for a single file ?
If i do the same with multiple folder all works as expected -> the content of all folder are moved into target folder.
Why different behavior for the same command ?
How to have the same result for a single file ?
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: move in place issue (Single Folder/Multiple Folder)
I don't understand your report. Can you give me an example? Here is what I tried:
1. Created directory test
2. Created directory target
3. Tried to rename test with Shift+F6 to target.*
-> TC asks whether you want to move test into target.
1. Created directory test
2. Created directory target
3. Tried to rename test with Shift+F6 to target.*
-> TC asks whether you want to move test into target.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: move in place issue (Single Folder/Multiple Folder)
2nsp
or
2. Select test and .., then Shift+F6.
1. UseHow to have the same result for a single file ?
Code: Select all
cm_RenMov /T="target.*"
2. Select test and .., then Shift+F6.
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: move in place issue (Single Folder/Multiple Folder)
That's a different function than in place rename. It's as if you pressed F6 and then edited the target field.
It does NOT give me an error. Instead, it moves files from the "test" folder to the "target" folder.
It does NOT give me an error. Instead, it moves files from the "test" folder to the "target" folder.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: move in place issue (Single Folder/Multiple Folder)
To get what i mean :ghisler(Author) wrote: 2023-07-27, 12:47 UTC That's a different function than in place rename. It's as if you pressed F6 and then edited the target field.
It does NOT give me an error. Instead, it moves files from the "test" folder to the "target" folder.
create a test2 folder
select test and test2
press +F6
in he dialog enter <target.*.> and validate
--> both content of test and test2 are "merged" inside target folder
When single folder is selected the behavior is not the same, for the same value <target.*.> !
The hotkey is the same for all case [+F6]:
Single folder Target do not exist -> TC rename the folder
Single folder Target exist -> TC do not ask me to merge content inside existing folder only to move the folder (it is not what i want).
Multiple folder -> all content of selected folder are merged inside target folder. "This is my goal"
I would like to have an option to merge folders additionally to the move into target or a new command cm_merge.
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: move in place issue (Single Folder/Multiple Folder)
When I enter
<target.*.>
I get an error. Do you mean
target.*.
And if yes, why the .*. at the end? Also I don't get any error when moving a single folder. When I press F6 on folder test2 and enter
target.*.
or simply
target
then it is renamed to target. And if target already existed, the files are just being moved from test2 to target.
<target.*.>
I get an error. Do you mean
target.*.
And if yes, why the .*. at the end? Also I don't get any error when moving a single folder. When I press F6 on folder test2 and enter
target.*.
or simply
target
then it is renamed to target. And if target already existed, the files are just being moved from test2 to target.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: move in place issue (Single Folder/Multiple Folder)
2nsp
Why not cm_RenMov (F6)?I would like to have an option to merge folders additionally to the move into target or a new command cm_merge.
Re: move in place issue (Single Folder/Multiple Folder)
using cm_renmov /T=".\" could be a solution !
For me it is boring to have different behavior for the same keystoke and parameter.
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: move in place issue (Single Folder/Multiple Folder)
I still don't understand where the problem is. 

Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: move in place issue (Single Folder/Multiple Folder)
Sorry, but can you please try again to describe the problem?
Here is what I tried:
1. Created 2 folders test1 and test2, and folder target
2. Put files test1.txt in test1 and test2.txt in test2
3. Selected test1 and test2
4. Pressed button with command:
cm_RenMov /T="target.*"
Result: test1.txt and test2.txt are now in folder "target"
1. Created folders test1 and target
2. Put file test1.txt inside test1
3. Selected test1
4. Pressed button with command:
cm_RenMov /T="target.*"
Result: test1.txt is now in folder "target"
So the result is exactly the same whether I select two or one folder.
What am I doing differently from you?
Here is what I tried:
1. Created 2 folders test1 and test2, and folder target
2. Put files test1.txt in test1 and test2.txt in test2
3. Selected test1 and test2
4. Pressed button with command:
cm_RenMov /T="target.*"
Result: test1.txt and test2.txt are now in folder "target"
1. Created folders test1 and target
2. Put file test1.txt inside test1
3. Selected test1
4. Pressed button with command:
cm_RenMov /T="target.*"
Result: test1.txt is now in folder "target"
So the result is exactly the same whether I select two or one folder.
What am I doing differently from you?
What do you mean by that? Here it is 100% the same!When single folder is selected the behavior is not the same, for the same value <target.*.> !
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: move in place issue (Single Folder/Multiple Folder)
2nsp
Please reply, otherwise I will move this thread to "will not be changed".
Please reply, otherwise I will move this thread to "will not be changed".
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: move in place issue (Single Folder/Multiple Folder)
Moderator message
Moved to will not be changed
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com