Hi,
What is the best / fastest way to do this?
1) Select a bunch of files (all are located in the same folder)
2) For each selected file, create, in the destination panel, a folder named as the file (but without the extension)
3) Move each file to its folder (the one create in step 2 with the same name)
Thanks!
What is the best way to do this?: Create folder from file name and move file
Moderators: white, Hacker, petermad, Stefan2
-
- Junior Member
- Posts: 52
- Joined: 2006-10-23, 09:46 UTC
Re: What is the best way to do this?: Create folder from file name and move file
1. Select all files.
2. Run Multi-rename tool - Files - Multi-Rename Tool (CTRL+M)
3. Type in "Rename mask: file name" field.
4. Press "Start"
EDIT: Sorry i didn't notice earlier "in the destination panel" but this require only one additional step: move all to destination folder.
2. Run Multi-rename tool - Files - Multi-Rename Tool (CTRL+M)
3. Type
Code: Select all
[N]\[N]
4. Press "Start"
EDIT: Sorry i didn't notice earlier "in the destination panel" but this require only one additional step: move all to destination folder.
Re: What is the best way to do this?: Create folder from file name and move file
Don't know if it is the best way, but it is rather straightforward:
- Select your files
- Menu:Files > Multi-Rename Tool...
- Configure Rename mask: file name =
Code: Select all
[N]\[N]
- Check if Extension =
Code: Select all
[E]
- Press the Start button.
- Press the Close button.
- Done
-
- Junior Member
- Posts: 52
- Joined: 2006-10-23, 09:46 UTC
Re: What is the best way to do this?: Create folder from file name and move file
Great! I didn't realize MRT could move files too! Such a powerful command!
For my knowledge, now admit that instead of moving files we want to copy files? Can we use the MRT too, and if not, what would be the way?
For my knowledge, now admit that instead of moving files we want to copy files? Can we use the MRT too, and if not, what would be the way?
Re: What is the best way to do this?: Create folder from file name and move file
2Gral:
Double-post! (I didn't see your message when writing mine). Luckily it was the exact same solution
Double-post! (I didn't see your message when writing mine). Luckily it was the exact same solution
Re: What is the best way to do this?: Create folder from file name and move file
As said by gral, be aware that you cannot directly use MRT to move to another location. What can be done is to use a "fake working target" folder and then move and delete the temporary folder..DjobyDjoba wrote: ↑2020-07-02, 04:51 UTC Great! I didn't realize MRT could move files too! Such a powerful command!
in name you can add $TARGET$\[N]\[N]
you will have all ready to move inside $TARGET$ folder under original location...
Using TCBL, you can do it as you want creating a batch script i.e
Code: Select all
command: <path to>\tcbl.exe
parameters: -q %L md """%T$z""" $; move """$f""" """%T$z\$n"""