Here's one scenario.
I have a structure of folders (i.e. in a folder A, i have 10 subfolders -A1 to A10- with several subfolders each, several levels deep). In each folder, in one of the levels (not the same level in all folders) i have a file (F). In a separate folder (B) i have a newer version of F.
In TC, menu Show/Custom files i select to see this file only and then i go to A and press CTRL+B, so i see all instances of F. I would now like to mass-copy this file from B to all its instances under A.
From what i've seen, TC does not have a straight-forward way to achieve this. Are there any other options?
In any case, i would like to file this as a TC request. It's not the first time i have faced this need and maybe i'm not the only one.
Copy to multiple folders in one step
Moderators: Hacker, petermad, Stefan2, white
Copy to multiple folders in one step
- Wanderer -
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3 (very rarely nowadays).
x64: Clients/Servers - Win10/Win11 and Win2K16 to Win2K22, mainly Win10 though.
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3 (very rarely nowadays).
x64: Clients/Servers - Win10/Win11 and Win2K16 to Win2K22, mainly Win10 though.
-
- Power Member
- Posts: 872
- Joined: 2013-09-04, 14:07 UTC
Re: Copy to multiple folders in one step
Once you have all the instances of the old F's in branch view, this should be doable with a script (possibly in conjunction with TCBL) that is being assigned to a user command and/or toolbar button.Are there any other options?
The necessary input data would consist of the path of the source file (the new file F), and a list of paths of the target files (the old F's). Both of those can be provided to the script via TC's command parameters. (But be aware of confusingly quirky behavior of some command parameters when used in branch view -- which, i admit, could be used as an argument against a user command/toolbar button-based solution in your scenario.)
Assuming the paths of the old F's is being provided by a list file, the script itself could probably be as simple as a batch file with a for loop reading the list file line-by-line and executing a copy command...
Re: Copy to multiple folders in one step
Hi,
Try this example:
Try this example:
- Search in separate process... Alt+Shift+F7
- Search for: ev:file: Filters.csv ... OR ... Filters.csv
- press button "Feed to listbox"
- press Select All - Ctrl Num+ (OR ... button with command: cm_ExchangeSelBoth)
- unmark the newer version of "Filters.csv"
- mark the newer version of "Filters.csv" in the other TC window
- press button "F5 Copy"
- [✓] Copy to all selected folders/links in the target panel
- OK
- press button "Overwrite all"
- DONE!
Re: Copy to multiple folders in one step
Thank you both for your input. Tuska's way was the solution!
- Wanderer -
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3 (very rarely nowadays).
x64: Clients/Servers - Win10/Win11 and Win2K16 to Win2K22, mainly Win10 though.
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3 (very rarely nowadays).
x64: Clients/Servers - Win10/Win11 and Win2K16 to Win2K22, mainly Win10 though.