How to copy all files and directories and subdirs except...

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
djorge
Senior Member
Senior Member
Posts: 422
Joined: 2003-07-03, 12:48 UTC
Location: Portugal

How to copy all files and directories and subdirs except...

Post by *djorge »

the folder Release (and its contents) and Debug (and its contents) generated from the compiler.

Thanks in advance
______________________
David Jorge
Personal License #117854
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50923
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

1. Press F5
2. On the second line enter:
*.* | Debug\ Release\

This will exclude all subfolders with these names (and all their subfolders too).
Author of Total Commander
https://www.ghisler.com
djorge
Senior Member
Senior Member
Posts: 422
Joined: 2003-07-03, 12:48 UTC
Location: Portugal

Post by *djorge »

No! It can't be that easy!! :oops: :oops:

Thanks a lot
______________________
David Jorge
Personal License #117854
User avatar
hlloyge
Member
Member
Posts: 131
Joined: 2006-11-02, 23:14 UTC

Post by *hlloyge »

Nice, I haven't even knew that!
Now, if that could be implemented into zip packing routine, thet would be awesome!
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50923
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

It would be easy to add for internal packers, but wouldn't work with external like RAR or plugins because I only pass subdir names to them. Therefore they would always pack the entire subdirectory.
Author of Total Commander
https://www.ghisler.com
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

ghisler,
What if you will pass full filelist instead of directory names?
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50923
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

I haven't tested that yet, but it will depend on the plugin - some will handle it, some will not.
Author of Total Commander
https://www.ghisler.com
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

In case of plugins you already pass full filelist so only external packers may have troubles...
User avatar
hlloyge
Member
Member
Posts: 131
Joined: 2006-11-02, 23:14 UTC

Post by *hlloyge »

Well, could you add that at least for internal zip? That would be grand :)
Post Reply