Skip empty dirs on copy
Moderators: white, Hacker, petermad, Stefan2
Skip empty dirs on copy
I'm very pleased with the new option for filtering on copy, but there should be a tick to only generate dirs when there's something to put on it. (Avoid generating empty dirs). Now it's difficult to clean up all empty dirs.
- ghisler(Author)
- Site Admin
- Posts: 48124
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
There is! Just append: |**\
For example, if you only want to copy Text files and no empty subdirectories, use:
*.txt |**\
For example, if you only want to copy Text files and no empty subdirectories, use:
*.txt |**\
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re:
Thanks! Is there a way to search for empty dirs?ghisler(Author) wrote: ↑2017-11-16, 16:54 UTC There is! Just append: |**\
For example, if you only want to copy Text files and no empty subdirectories, use:
*.txt |**\
Re: Re:
Yes, there is. Get the DirSizeCalc plugin and use its field "Empty" (or "Contains Files" in conjunction with "Contains Subdirectories") in TC's search, on tab Plugins.
Regards
Dalai
#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