[Solved using extra .*. after target folder name] Option to merge for in Place Rename of Folder
Moderators: Hacker, petermad, Stefan2, white
[Solved using extra .*. after target folder name] Option to merge for in Place Rename of Folder
I would like to have a new option to merge folders when i do in place rename or move.
I have folders named a-001 a-002,.... a-994 if an do in place rename to a-target if a-target exist already TC ask to move but never to merge i.e move content instead of just renaming.
Currently i have to use external tool to do it which is less convenient than having it directly in TC.
I have folders named a-001 a-002,.... a-994 if an do in place rename to a-target if a-target exist already TC ask to move but never to merge i.e move content instead of just renaming.
Currently i have to use external tool to do it which is less convenient than having it directly in TC.
Re: Option to merge for in Place Rename of Folder
Workaround: Branch view move to a new folder? You probably know this.
License #1945
Windows 10 Pro x64
Version 22H2 (OS Build 19045.3930)
TC 11.00 x64 and x86, Everything 1.5.0.1366a x64, QAP 11.6.3.1 x64
Windows 10 Pro x64
Version 22H2 (OS Build 19045.3930)
TC 11.00 x64 and x86, Everything 1.5.0.1366a x64, QAP 11.6.3.1 x64
Re: Option to merge for in Place Rename of Folder
Branch-view is not really a solution as i do not want to select file but enclosing folders.
Re: Option to merge for in Place Rename of Folder
2nsp
Select a-001, a-002… --> Shift+F6 --> c:\Test\a-target.* --> Ok.
Is that not what it takes?
Select a-001, a-002… --> Shift+F6 --> c:\Test\a-target.* --> Ok.
Is that not what it takes?
Re: Option to merge for in Place Rename of Folder
I should think so too - but I am not sure how nsp distinguish between move and mergeSelect a-001, a-002… --> Shift+F6 --> c:\Test\a-target.* --> Ok.
Is that not what it takes?
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Re: Option to merge for in Place Rename of Folder
When you move ( Shift+F6) you keep source folder name into target name.petermad wrote: 2023-07-03, 22:32 UTCI should think so too - but I am not sure how nsp distinguish between move and mergeSelect a-001, a-002… --> Shift+F6 --> c:\Test\a-target.* --> Ok.
Is that not what it takes?
When you merge, the content of the source folder is moved inside the target and source folder is deleted.
I have a-001 i want to rename to a-target all is ok.
I select a-002 i want to merge with a-target, if i rename, TC only warn that a-target exist and propose to move a-002 inside a-target.
What i want is to merge a-002 with a-target so all files of a-002 will be moved into a-target and a-002 deleted. I do not want to keep a-002 name.
I receive new a-xxx folder from time to time and cannot do all at once but like an iterative process.
Re: Option to merge for in Place Rename of Folder
Select a-002 and .., then Shift+F6, etc.nsp wrote:I select a-002 i want to merge with a-target
Re: Option to merge for in Place Rename of Folder
To be clear:
I have
\\updates\A_1\1.txt
\\updates\A_1\1.log
\\updates\A_1\src_1.tar.bz2
\\updates\A_2\2.spec.docx
\\updates\A_3\3.release.7z
I want to merge folder A_1 A_2 A_3 into A_target in one operation.
I select A_1, A_2, A_3 and want to have at the end A_target containing all files but not A_1 A_2 A_3.
Using Shift+F6 currently i have A_Target\A_1, A_2 A_3
If i want to do it one by one, the first rename A_1 to A_Target is OK. The next one renaming A_2 to A_target Warn about existing folder and propose to move... And the result is to get A_Target\A_2 folder.
What i need is to have A_target containing 1.txt 1.log src_1.tar.bz2 2.spec.docx 3.release.7z and not A_2\2.spec.docx A_3\3.release.7z
I have
\\updates\A_1\1.txt
\\updates\A_1\1.log
\\updates\A_1\src_1.tar.bz2
\\updates\A_2\2.spec.docx
\\updates\A_3\3.release.7z
I want to merge folder A_1 A_2 A_3 into A_target in one operation.
I select A_1, A_2, A_3 and want to have at the end A_target containing all files but not A_1 A_2 A_3.
Using Shift+F6 currently i have A_Target\A_1, A_2 A_3
If i want to do it one by one, the first rename A_1 to A_Target is OK. The next one renaming A_2 to A_target Warn about existing folder and propose to move... And the result is to get A_Target\A_2 folder.
What i need is to have A_target containing 1.txt 1.log src_1.tar.bz2 2.spec.docx 3.release.7z and not A_2\2.spec.docx A_3\3.release.7z
Re: Option to merge for in Place Rename of Folder
It was proposed to rename (Shift + F6) the A_2 (along with ..) to A_target.*.nsp wrote:The next one renaming A_2 to A_target Warn about existing folder
Re: Option to merge for in Place Rename of Folder
sa16 wrote: 2023-07-04, 07:39 UTC It was proposed to rename (Shift + F6) the A_2 (along with ..) to A_target.*.
I've never used this syntax target.*. and yes this solve my issue !
many thx @sa16
Re: [Solved using extra .*. after target folder name] Option to merge for in Place Rename of Folder
2nsp
The proposed method is suitable only for a specific case when there are no points (extensions) in folder names!
You can also use the command in the TC11.00b9.
Add_1
Add_2
In your case, you can use the following method:
It will work even if there are points in the folder names, the main thing is that the first character of the folders is "a".
The proposed method is suitable only for a specific case when there are no points (extensions) in folder names!
You can also use the command
Code: Select all
cm_RenMov /GT="c:\Test\a-target.*"
Add_1
Only .*, not .*., as at you.nsp wrote:[Solved using extra .*. after target folder name]
Add_2
In your case, you can use the following method:
Code: Select all
cm_RenMov /GT="c:\Test\?-target"