Analyze file count, size and type information on different operating systems with Python script.
Python script that analyzes file size, type information and file count, size in folder on different operating systems. Script testing done on Windows 10 and macOS systems. Both forking fine, haven’t done the testing but it will most likely work on Linux and more other operating systems.
Accomplishing the aim of this project be done with standard & external python modules, system calls and executing command on the system. That’s why the output of the script separated into two parts. Part 1: Python Modules and Part 2: Commands & System Calls.
-
Fork, clone or download this repository
git clone https://github.com/buraktokman/Operating-System-Agnostic-File-System-Analyzer.git
-
Navigate to the directory
cd Operating-System-Agnostic-File-System-Analyzer
-
Install requirements
pip install -r requirements.txt
-
Run the script with parameters. Provide directory or folder path to the script.
python3 analyze.py --file="./"
MIT License