Page 1 of 1

Include parent directories in file copy

Posted: 2012-02-14, 04:12 UTC
by JCL
I commonly use TC to copy MP3 files to my player. I have them in folders by .\Genre\artist\album and would like to keep this organization on the target though I typically wouldn't want to copy all of the albums at once. So for example I have these folders:
Male\Leo Kottke\1974 Dreams and All That Stuff
Male\Leo Kottke\1974 Ice Water
Male\Leo Kottke\1975 Chewing Pine
Male\Leo Kottke\1976 Leo Kottke
But for now I only want to copy the Chewing Pine album. Currently I have to either copy the entire Leo Kottke folder then delete the Albums I don't want or manually create the "male" and "Leo Kottke" folders on the target then set that folder as the target and then copy the album folder. It's a lot of steps.

My idea would be to somehow set a base path in my source (say it starts from C:\Users\John\Music) and that much of the path in the source would be ignored but everything else would be created in the target on the copy. In this case I select the folder:
C:\Users\John\Music\Male\Leo Kottke\1975 Chewing Pine
and TC creates it on the target as:
.\Male\Leo Kottke\1975 Chewing Pine
(Assume I have the target currently set on the "F:\Music" folder)

I could now go all over my source drive, in different genre, artist folders, select albums, press F5, go to the next folder, etc, etc. This would be quite handy. This could be quite useful for all media (movies, pictures, etc) as well.

Posted: 2012-02-14, 06:49 UTC
by MVV
You may try plugin TreeCopyPlus, it allows to keep folder tree. Just press Alt+F5, select plugin from list, press Configure and set number of directories to exclude.

Posted: 2012-02-14, 08:37 UTC
by Peter
MVV wrote:...try plugin TreeCopyPlus ...
http://www.totalcmd.net/plugring/TreeCopyPlus.html

Peter

Well that is stunning!

Posted: 2012-02-17, 04:33 UTC
by JCL
OK, I wouldn't have expected it to be rendered in the form of a packer plugin but I must say that after I figured it out it is exactly what I've been looking for. Yet again another example of the awesomeness of the Commander. Thanks for the guidance guys. Really appreciate it.

John

Posted: 2012-02-17, 20:29 UTC
by karlchen
Hello, John.

At the time when the first TreeCopy version was created the only kind of plugins that Total Commander could handle were packer plugins. :wink:
So this is for historical reasons.

Kind regards,
Karl

Posted: 2012-02-19, 09:00 UTC
by ghisler(Author)
Actually I think that a packer plugin is the best solution. With a file system plugin, you would have to find the same target directory again which you can already use with the packer plugin...