empty file/folder remover.
Project description
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-ext
andexclude-names
options can be used with or without the-d
directory option
Contributing
Issues, Feature Requests and Pull Requests are all welcome.
📝 License
Apache 2.0 License
See LICENSE
file for more information.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
emptyfile-0.1.1.tar.gz
(113.1 kB
view hashes)
Built Distribution
emptyfile-0.1.1-py3-none-any.whl
(15.8 kB
view hashes)
Close
Hashes for emptyfile-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8ca5695f6bcaaed5bb1f1b842f4ec9f233c2b53c1493d6853c60c77412472d8a |
|
MD5 | 76415460bc0d9d81ae4f43053bd46456 |
|
BLAKE2b-256 | 7f5ad6fd40b5e3f8704bfa0ecffa741f3c19b27f782a447ad2d666d35c1a3ddc |