Find file and copy folder with all content

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
Domy007
New Member
New Member
Posts: 1
Joined: 2018-02-21, 08:27 UTC
Location: Prague

Find file and copy folder with all content

Post by *Domy007 »

Hi,

is there any way in Total Commander to find files by extension, copy it with directory and with the all content of the folder, where was the file found?

Thanks
User avatar
Stefan2
Power Member
Power Member
Posts: 4153
Joined: 2007-09-13, 22:20 UTC
Location: Europa

Post by *Stefan2 »

Hi and welcome, Domy007

You want to find an folder which contains a special file type?
Next copy that whole folder?

I guess this is not possible with TC.
You will need to run a system script like VBS or PoSh.
TC can run that script and provide the current active and the target panel path as parameters.





Pseudo code:
- select "main" (top level) folder in source panel (active one)
- execute the script
- for each folder and sub folder...
--- if found Extension 'xyz' THEN copy Parent-Folder to Target panel (inactive)






 
Post Reply