EmptyFile
🌐 Overview
emptyfile is a tiny console tool that removes empty files or directories from your filesystem. The program recursively traverses a given directory and analyizes each file.
🔌 Requirements
- python 3
💻 Install
To install EmptyFile, follow these steps:
from git
git clone https://github.com/alexpdev/emptyfiles.git
cd emptyfiles
pip install .
from PyPi
pip install emptyfile
🚀 Usage
- Remove empty files recursively from one or more base directories
emptyfiles /path/1 /path/2 /path/3 ...
- Remove empty directories recursively from one or more base directories
emptyfiles -d /path/1 /path/2 /path/3 ...
- Include a list of file extensions to ignore while checking for empty's
emptyfiles --exclude-ext .py .json ... -- /path/1 /path/2 ...
- Include a list of file or directory names to ignore while searching for empty files
emptyfiles --exclude-names README.md __init__.py .gitignore -d /path/1 ...
Both the
exclude-extandexclude-namesoptions can be used with or without the-ddirectory option
Contributing
Issues, Feature Requests and Pull Requests are all welcome.
📝 License
Apache 2.0 License
See LICENSE file for more information.
Metadata
Release files for emptyfile 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| emptyfile-0.1.1.tar.gz | 113.1 kB | Without provenance | Details for emptyfile-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| emptyfile-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for emptyfile-0.1.1-py3-none-any.whl |
Total release size: 129.0 kB
Release files / emptyfile-0.1.1.tar.gz
| Download URL | emptyfile-0.1.1.tar.gz |
|---|---|
| Size | 113.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8ab5f3966952c9a3dce5a03f949913dda013a5367692cac882cec8c747239dc9
|
|
BLAKE2b-256 checksum How to use checksums |
5107d7e6eca23e3787788a35324338110025da3421265a4e4bbf59bfeba89b6b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.10.2
|
Release files / emptyfile-0.1.1-py3-none-any.whl
| Download URL | emptyfile-0.1.1-py3-none-any.whl |
|---|---|
| Size | 15.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8ca5695f6bcaaed5bb1f1b842f4ec9f233c2b53c1493d6853c60c77412472d8a
|
|
BLAKE2b-256 checksum How to use checksums |
7f5ad6fd40b5e3f8704bfa0ecffa741f3c19b27f782a447ad2d666d35c1a3ddc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.10.2
|
Security for emptyfile 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.