This forum uses cookies. Click X button to hide this message. What is stored? / Privacy
Total Commander Forum Index Total Commander
Forum - Public Discussion and Support
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Rename Folders that are empty or only contain Folders

 
Post new topic   Reply to topic    Total Commander Forum Index -> Total Commander (English) Printable version
View previous topic :: View next topic  
Author Message
JimmyTheBroker
Member
Member


Joined: 06 Jun 2017
Posts: 177

PostPosted: Sun May 20, 2018 6:13 pm    Post subject: Rename Folders that are empty or only contain Folders Reply with quote

Hi guys,

I am wondering if there is a way to:
Rename Folders that are empty or only contain Folders with "name + (Empty)" etc

So that if I am browsing through directories I can tell quickly if they're useful or dead legs. (I want to keep the folder structure as it is, to add things into the correct folders as projects develop.)

eg:
    E:\AS\A\A
    E:\AS\A\A\C
    E:\AS\A\B
    E:\AS\A\B\Work.doc
    E:\AS\B\A
    E:\AS\B\B
    E:\AS\B\B\C

Would rename to:
    E:\AS\A\A (Empty)
    E:\AS\A\A (Empty)\C (Empty)
    E:\AS\A\B
    E:\AS\A\B\Work.doc
    E:\AS\B (Empty)\A (Empty)
    E:\AS\B (Empty)\B (Empty)
    E:\AS\B (Empty)\B (Empty)\C (Empty)


Thanks!
Jimmy Cool
_________________
I finally get notifications from emails again!!!
So happy!
Back to top
View user's profile Send private message
Gral
Power Member
Power Member


Joined: 26 Jan 2005
Posts: 596

PostPosted: Sun May 20, 2018 6:51 pm    Post subject: Reply with quote

Download and install DirSizeCalc - https://totalcmd.net/plugring/dirsizecalc.html
Perform search with settings on plugins page:

Plugin: dirsizecalc
Property:File Count
OP:=
Value:0

and

Plugin:dirsizecalc
Property:Directory Count
OP:>=
Value:0

Search, feed to listbox, rename with mask "[N] (Empty)"
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Total Commander Forum Index -> Total Commander (English) All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Imprint/Impressum: This site is maintained by Ghisler Software GmbH
Privacy Policy | Datenschutzerklärung | Politique de Confidentialité

Using phpBB © phpBB Group