Secure CLI tool to identify and delete KATE backup files (*.~ and .*~) with user confirmation.
Project description
kcleaner
kcleaner is a secure command-line tool designed to identify and delete KATE backup files such as:
*.~.*~
It provides:
- Safe preview of deletable files
- Interactive confirmation with deselection options
- Persistent configuration file
- Default scan in the current directory
Installation
pip install kcleaner-py
git clone https://github.com/skye-cyber/kcleaner.git
pip install .
Or, if you prefer PEP 517:
pip install . --use-pep517
Usage
kcleaner
- with cmda **rgs
# Use saved config
kcleaner
# Custom pattern (no config needed)
kcleaner --pattern '*~' --pattern '.*~'
# Search a specific folder
kcleaner -d src/ -d docs/
# Disable recursion
kcleaner --no-recursive
# Dry run only
kcleaner --dry-run
- Use command-line arguments to override default config:
kcleaner --pattern '*~' --dry-run
Configuration
On first run, kcleaner creates a .kcleaner_config.json file in the same directory. You can edit it to change:
-
Search pattern (e.g.,
.*~,*~) -
Default behavior
License
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
See the LICENSE file for more details. See the LICENSE file for details.
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
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 kcleaner_py-0.2.1.tar.gz.
File metadata
- Download URL: kcleaner_py-0.2.1.tar.gz
- Upload date:
- Size: 22.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3b5981cbc32b2ac8b5ef78dc6fcdb55a72488d60655efc6e9f5470dd3e2e126e
|
|
| MD5 |
dbf5c8ab2bfcfeebbf99b15284421006
|
|
| BLAKE2b-256 |
335599c2ad367b8baa495d3634d5721f8ebd63bf6e0f0f4408dda70766431bea
|
File details
Details for the file kcleaner_py-0.2.1-py3-none-any.whl.
File metadata
- Download URL: kcleaner_py-0.2.1-py3-none-any.whl
- Upload date:
- Size: 23.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
017e398100244e4dd7b4eaa77874ca579243a9573c9fc7e542de22328b2dcf44
|
|
| MD5 |
70c061ee12735162811ddbb93f911169
|
|
| BLAKE2b-256 |
f784bb17d5b4e2edbdacf901bc2d8cda4026bd7d235fc0c31a98951dd72cc36a
|