I have 4000 files - 4 different extensions and same filenames from 0001.* to 1000.*
Need to put them to the 1000 folders (same name as filenames, 0001 - 1000) so each folder will contain 4 files of the same filenames and different extensions
Is there any way to do it in TC?
copy files with same filenames to the different folders
Moderators: Hacker, petermad, Stefan2, white
-
- Junior Member
- Posts: 6
- Joined: 2018-07-22, 19:49 UTC
Re: copy files with same filenames to the different folders
Hi harumscarum and welcome.
For such individual tasks a batch (or PoSh/VBS/JS/AHK) would be IMHO the best way.
TC can aid you by providing a list with (\path\)names of all selected file by use of parameters like %F, %L or %WF and also "%T"
(right click a button on the buttonbar > choose "Modify" > in the open dialog press F1 and read the help)
In your script you would say:
- for each line / file
--- copy file BASE.EXT to \BASE\BASE.EXT
- Next file
Depending on your file and folder structure you could use the Multi-Rename Tool too:
- select all files
- launch MRT
use
Name mask: [N]\[N]
Extension: [E]
FROM:
0001.ext
0002.eee
0002.ext
0003.eee
0003.ext
0003.exx
TO:
0001\0001.ext
0002\0002.eee
0002\0002.ext
0003\0003.eee
0003\0003.ext
0003\0003.exx
For such individual tasks a batch (or PoSh/VBS/JS/AHK) would be IMHO the best way.
TC can aid you by providing a list with (\path\)names of all selected file by use of parameters like %F, %L or %WF and also "%T"
(right click a button on the buttonbar > choose "Modify" > in the open dialog press F1 and read the help)
In your script you would say:
- for each line / file
--- copy file BASE.EXT to \BASE\BASE.EXT
- Next file
Depending on your file and folder structure you could use the Multi-Rename Tool too:
- select all files
- launch MRT
use
Name mask: [N]\[N]
Extension: [E]
FROM:
0001.ext
0002.eee
0002.ext
0003.eee
0003.ext
0003.exx
TO:
0001\0001.ext
0002\0002.eee
0002\0002.ext
0003\0003.eee
0003\0003.ext
0003\0003.exx