can I copy for example 1 file to many folders?
Moderators: Hacker, petermad, Stefan2, white
can I copy for example 1 file to many folders?
Hi
I have select a file on left panel and i have selected several folder on the right panel
on the left panel , i select the file -> copy ,but tc did save on the root
can I copy for example 1 file or more to many folders?
thanks
I have select a file on left panel and i have selected several folder on the right panel
on the left panel , i select the file -> copy ,but tc did save on the root
can I copy for example 1 file or more to many folders?
thanks
love Total Commander , best file manager ever made
Re: can I copy for example 1 file to many folders?
In the F5-Copy-Dialog check out the "[Options >>]" and choose
"Copy to all selected folders/links in the target panel"
"Copy to all selected folders/links in the target panel"
Re: can I copy for example 1 file to many folders?
HiStefan2 wrote: 2024-08-28, 07:40 UTC In the F5-Copy-Dialog check out the "[Options >>]" and choose
"Copy to all selected folders/links in the target panel"
yes that's right
thanks!
love Total Commander , best file manager ever made
Re: can I copy for example 1 file to many folders?
Hello!
What if you need to copy to drives rather than folders?
E.g. 60GB of music on 2 identical usb drives and it takes hours to do this, how can this be done in one process (not by running 2 TC copies together), reading the source once and writing it to 2 or more destinations?
Problem could be the buffer if one of the drives is slower. (Faster drive waiting, slow still writing.)
What if you need to copy to drives rather than folders?
E.g. 60GB of music on 2 identical usb drives and it takes hours to do this, how can this be done in one process (not by running 2 TC copies together), reading the source once and writing it to 2 or more destinations?
Problem could be the buffer if one of the drives is slower. (Faster drive waiting, slow still writing.)
Re: can I copy for example 1 file to many folders?
I think you can create symbolic links or shortcut files (with a bit of trouble) to the roots of your drives and select those as targets.
Re: can I copy for example 1 file to many folders?
I wouldn't open a new question... about copying.
I got a search result (for date, size, etc.) on one tab (left), but these are just filenames (deep in directories).
How can I copy these so that the full path is preserved?
Example:
The listed (left tab): xyz.abc
The real source: X:\1\2\3\4\5\xyz.abc
The destination (right tab): Y:\
Now selected only the xyz.abc file (from search result tab), and copy only this file without any folders. xyz.abc -copy-> Y:\xyz.abc
Need X:\1\2\3\3\4\5\xyz.abc -copy-> Y:\1\2\3\3\4\5\xyz.abc (created automatically all folders and copy the xyz.abc file to the last "5" folder)
I got a search result (for date, size, etc.) on one tab (left), but these are just filenames (deep in directories).
How can I copy these so that the full path is preserved?
Example:
The listed (left tab): xyz.abc
The real source: X:\1\2\3\4\5\xyz.abc
The destination (right tab): Y:\
Now selected only the xyz.abc file (from search result tab), and copy only this file without any folders. xyz.abc -copy-> Y:\xyz.abc
Need X:\1\2\3\3\4\5\xyz.abc -copy-> Y:\1\2\3\3\4\5\xyz.abc (created automatically all folders and copy the xyz.abc file to the last "5" folder)
Re: can I copy for example 1 file to many folders?
mrv wrote: 2025-02-21, 13:42 UTC I got a search result (for date, size, etc.) on one tab (left), but these are just filenames (deep in directories).
How can I copy these so that the full path is preserved?
HISTORY.TXT wrote: 18.01.24 Release Total Commander 11.03 release candidate 1
18.01.24 Added: Copy files, "Keep relative paths": wincmd.ini [Configuration] RelativePathCopy: Add 8 to not copy the drive letter / the server name for UNC paths) (32/64)
18.01.24 Added: Copy files: The option "Keep relative paths" is now also available in search results, copies entire path and changes drive from C: to C (not remembered between sessions) (32/64)
So for example, use RelativePathCopy=10 in your wincmd.ini file, restart TC and use the option "Keep relative paths".Help wrote: RelativePathCopy=2 Controls option "Keep relative paths" in F5/F6 dialog. Sum of:
1: enabled at start
2: remember last option while TC is running
4: remember last option also after closing TC
8: do not copy the drive letter/UNC server from search results
-1: hide option (do not add to sum)
Re: can I copy for example 1 file to many folders?
Not working for me.
Add this line the Wincmd.ini file:
[Configuration]
RealativePathCopy=2
LanguageIni=wcmd_hun.lng
Mainmenu=wcmd_hun.mnu
...
Tested 2, 8 or 10
After F5 copy dialog, pushed +F7 new window: folder list, added R:\, Y:\, and named R&Y, pushed ok.
Only file copyed to one location, no R and Y, only R or Y, without directorys.
My TC version 11.51.
Add this line the Wincmd.ini file:
[Configuration]
RealativePathCopy=2
LanguageIni=wcmd_hun.lng
Mainmenu=wcmd_hun.mnu
...
Tested 2, 8 or 10
After F5 copy dialog, pushed +F7 new window: folder list, added R:\, Y:\, and named R&Y, pushed ok.
Only file copyed to one location, no R and Y, only R or Y, without directorys.
My TC version 11.51.
Re: can I copy for example 1 file to many folders?
You seem to do weird things, but after I tested my suggestion again, I found that it doesn't work. It seems that the option "Keep relative paths" doesn't work together with the option "Copy to all selected folders/links in the target panel". Perhaps this is a bug.mrv wrote: 2025-02-22, 12:04 UTC After F5 copy dialog, pushed +F7 new window: folder list, added R:\, Y:\, and named R&Y, pushed ok.
Only file copyed to one location, no R and Y, only R or Y, without directorys.
2ghisler(Author)
Is it a bug?
Re: can I copy for example 1 file to many folders?
Using the option "Copy to all selected folders/links in the target panel" would NOT be doing "reading the source once and writing it to 2 or more destinations". It would still be separate copy operations, similar to copying to one drive using F5 Copy, followed by F2 Queue, and then doing this for the other drive too.mrv wrote: 2025-02-21, 12:53 UTC What if you need to copy to drives rather than folders?
E.g. 60GB of music on 2 identical usb drives and it takes hours to do this, how can this be done in one process (not by running 2 TC copies together), reading the source once and writing it to 2 or more destinations?
Re: can I copy for example 1 file to many folders?
Reading a source once and writing it to multiple destination directories is not possible. Each copy operation is separate, regardless of whether or not they're handled sequentially or in parallel. Implementing something like this would be a huge undertaking because it would be necessary to tell the OS for each block copied to not swap these pages out to disk (leaving them in RAM) and then writing each block out to the destinations before reading the next block.
However, the option "Copy to all selected folders/links in the target panel" is what can achieve the requested goal, copying one source to multiple directories.
However, the option "Copy to all selected folders/links in the target panel" is what can achieve the requested goal, copying one source to multiple directories.
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Re: can I copy for example 1 file to many folders?
Is it?white wrote: 2025-02-22, 12:51 UTC You seem to do weird things, but after I tested my suggestion again, I found that it doesn't work. It seems that the option "Keep relative paths" doesn't work together with the option "Copy to all selected folders/links in the target panel". Perhaps this is a bug.
2ghisler(Author)
Is it a bug?
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: can I copy for example 1 file to many folders?
The two options are contradictory: "Copy to all selected folders/links in the target panel" seems to imply that the files will be copied directly to the selected folders/links and not to subdirectories from relative paths.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: can I copy for example 1 file to many folders?
No, the options are not contradictory. "Copy to all selected folders/links in the target panel" means you select multiple targets instead of one, nothing more. It doesn't imply that one of the copy options shouldn't work.ghisler(Author) wrote: 2025-03-04, 07:57 UTC The two options are contradictory: "Copy to all selected folders/links in the target panel" seems to imply that the files will be copied directly to the selected folders/links and not to subdirectories from relative paths.
When copying to "folder1" by pressing F5 and then F2, and then copying to "folder2" by pressing F5 and then F2, the option "Keep relative paths" does work. There is no reason why this option wouldn't work if you select both folders and use the option "Copy to all selected folders/links in the target panel".
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: can I copy for example 1 file to many folders?
It would be very easy to change, but wouldn't it be confusing? Maybe I need to change the wording of the option?
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com