Move folders question
Moderators: Hacker, petermad, Stefan2, white
Move folders question
Using ctrl+b and multi-rename tool usually I can speed up doing big directory changes. But i can not think of anyway to accomplish a certain task.
I have a set of folders labelled A1-A10. Within each folder there is another folder called music. Within the music folder in each A1-10 folder there are various sub folders. What I want to do is remove the music folder and just have the sub-folders within the A10 folder. This means I have to move the sub-folders and then delete the music folder in each folder.
Any way to speed this up?
I have a set of folders labelled A1-A10. Within each folder there is another folder called music. Within the music folder in each A1-10 folder there are various sub folders. What I want to do is remove the music folder and just have the sub-folders within the A10 folder. This means I have to move the sub-folders and then delete the music folder in each folder.
Any way to speed this up?
- ghisler(Author)
- Site Admin
- Posts: 50937
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
You can do it like this:
1. Make a search for the folders you want to move one level up
2. Click on "Feed to listbox"
3. Select all (Ctrl+A)
4. Multi-rename tool (Ctrl+M)
5. New name: ..£[N] where £ must be a character not apearing in the names
6. Search for: £
7. Replace by: \
8. Start
1. Make a search for the folders you want to move one level up
2. Click on "Feed to listbox"
3. Select all (Ctrl+A)
4. Multi-rename tool (Ctrl+M)
5. New name: ..£[N] where £ must be a character not apearing in the names
6. Search for: £
7. Replace by: \
8. Start
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
I am unable to get that to work.
I firstly struggled to find the subfolders and not the top level folders with a search term as they are not actually named a1-10 they have random names. I used *|music. I had to manually select some of the sub folders as a test. I tried doing the \ in the find and replace and it does not appear to move the folders up a level or rename the files.
Image: http://img197.imageshack.us/img197/3927/ss1ga.jpg
I firstly struggled to find the subfolders and not the top level folders with a search term as they are not actually named a1-10 they have random names. I used *|music. I had to manually select some of the sub folders as a test. I tried doing the \ in the find and replace and it does not appear to move the folders up a level or rename the files.
Image: http://img197.imageshack.us/img197/3927/ss1ga.jpg
- ghisler(Author)
- Site Admin
- Posts: 50937
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
You forgot the two dots in step 5. Instead of writing £[N], you need to write:
..£[N]
The ".." means "parent directory".
..£[N]
The ".." means "parent directory".
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Thanks for the reply.
When doing the search how can I ignore level 1 and 2 folders. If i choose different levels from the drop down it does not appear to allow me to ignore level 1 and 2 folders, only sub folders.
As music folder is a level 2 and i only want results of the level 3 folders in the search. Maybe a different search term completely would do it?
When doing the search how can I ignore level 1 and 2 folders. If i choose different levels from the drop down it does not appear to allow me to ignore level 1 and 2 folders, only sub folders.
As music folder is a level 2 and i only want results of the level 3 folders in the search. Maybe a different search term completely would do it?
- ghisler(Author)
- Site Admin
- Posts: 50937
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
I don't understand your comment. You write yourself that this was added to TC8...Sorry I can't figure out why these steps could not be consolidated:
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- Samuel
- Power Member
- Posts: 1930
- Joined: 2003-08-29, 15:44 UTC
- Location: Germany, Brandenburg an der Havel
- Contact:
So the consolidated procedure only works in TC 8?ghisler(Author) wrote:I don't understand your comment. You write yourself that this was added to TC8...Sorry I can't figure out why these steps could not be consolidated:
I wonder why it doesn't worked in TC 7.5 then. (and why the workaround worked in TC 7.5)
Just curious.