Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

Keep track of file creations/deletions when changing between folders — a fancier "cd" command, basically

Jul
256
6
It looks like below. If you add files or delete files to a folder, it will tell you about the file count increase/decrease when you exit/enter the folder the later.

Grab cd-alias.bat from clairecjs_bat/BAT-and-UTIL-files/cd-alias.bat at main · ClaireCJS/clairecjs_bat

To optionally stop "ghost" counts when creating a folder with a formerly-deleted-folder's name:
Gab rd-alias.bat from clairecjs_bat/BAT-and-UTIL-files/rd-alias.bat at main · ClaireCJS/clairecjs_bat

To optionally add ANSI stylization:
grab set-colors.bat from clairecjs_bat/BAT-and-UTIL-files/set-colors.bat at main · ClaireCJS/clairecjs_bat

To have these commands replace your normal cd/rd commands (which is the point), add the following to an ALIAS.LST file and execute "alias /r ALIAS.lst" to read the new aliases in
Code:
cd=@call cd-alias.bat
rd=@call rd-alias.bat



1712168284982.png
 

Similar threads

Back
Top