SizeScan is a script that displays the sizes of subfolders or files within a specified folder. It highlights items in red if they exceed a specified size limit.
Project description
SizeScan
SizeScan is a script that displays the sizes of subfolders or files within a specified folder. It highlights items in red if they exceed a specified size limit.
Features
- Display the sizes of subfolders within a specified folder.
- Option to display the sizes of files instead of subfolders.
- Highlight items that exceed a specified size limit.
Requirements
- Python 3.x
tqdmrich
You can install the required packages using pip:
pip install tqdm rich
Usage
sizescan <folder> [-mb <max_mb>] [-f]
Arguments
<folder>: The folder to scan and display sizes.-mb,--max-mb: The size limit in MB. Items exceeding this size will be highlighted in red. Default is 1000 MB.-f,--files: Display sizes of files instead of subfolders.
Examples
Display sizes of subfolders:
sizescan /path/to/folder
Display sizes of files:
sizescan /path/to/folder -f
Highlight items exceeding 500 MB:
sizescan /path/to/folder -mb 500
Display sizes of files and highlight items exceeding 200 MB:
sizescan /path/to/folder -f -mb 200
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sizescan-0.1.2.tar.gz.
File metadata
- Download URL: sizescan-0.1.2.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ead9fe0f3eef08606c388ca90bfdd2899f7abe6093cc54bb1649d33cb7728093
|
|
| MD5 |
0c140961f9115c1204b9776c32b780aa
|
|
| BLAKE2b-256 |
01eea0381b1791f24b304405ae0d5be5c69778e4d53838a4f95c6aff88fc083b
|
File details
Details for the file sizescan-0.1.2-py3-none-any.whl.
File metadata
- Download URL: sizescan-0.1.2-py3-none-any.whl
- Upload date:
- Size: 3.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1a6fdc428feb36a55ff9a6c4087643d62a954e0cfbd2013feb8044ae20f53e16
|
|
| MD5 |
e9ef93b9e769d3f12a42ea3ae8db9f54
|
|
| BLAKE2b-256 |
12789f7733efc7860c31b5afe9bf667ee5f639024b3174b63915e325bb69c2f1
|