ReessKennedy / Folders_Contents_Summarization

Scans a folder to 6th subfolders deep and outputs folder names and number of files and folder in each to a text doc

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Folders_Contents_Summarization

What ⚡

This script will create a text file that contains the names of all the folders inside a folder path and the number of files and folder inside these folders.

Why 🤷‍♂️

If you don't use a DAM and instead categorize lots of "stuff" into folders and then sub-folders, it can become difficult to know what you have. Databases and notes apps like Evernote or Bear or Apple Notes are nice because they can be programmed to just show you how much stuff you have all the time and how many items you in each category but file-system storage systems don't quickly have this reporting. This allows you to quickly get this report.

How 📋

  1. Rename config-sample.py to config.py (which is ignored by git)
  2. Add the path to the folder you wish to scan in the config and the location for the text file that will contain your summary info
  3. Run the script however you wish. Via terminal just Python3 /path/to/scan-alphaoutput.py ` should work.

About

Scans a folder to 6th subfolders deep and outputs folder names and number of files and folder in each to a text doc


Languages

Language:Python 100.0%