Skip to main content

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.

Metadata

Release files for kcleaner-py 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for kcleaner-py 0.2.1
File Size Uploaded
kcleaner_py-0.2.1.tar.gz 22.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for kcleaner-py 0.2.1
File Interpreter ABI Platform
kcleaner_py-0.2.1-py3-none-any.whl Python 3 none any Details

Total release size: 45.3 kB

Release files / kcleaner_py-0.2.1.tar.gz

Download URL kcleaner_py-0.2.1.tar.gz
Size 22.1 kB
Tags Source
SHA-256 checksum
How to use checksums
3b5981cbc32b2ac8b5ef78dc6fcdb55a72488d60655efc6e9f5470dd3e2e126e
BLAKE2b-256 checksum
How to use checksums
335599c2ad367b8baa495d3634d5721f8ebd63bf6e0f0f4408dda70766431bea
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / kcleaner_py-0.2.1-py3-none-any.whl

Download URL kcleaner_py-0.2.1-py3-none-any.whl
Size 23.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
017e398100244e4dd7b4eaa77874ca579243a9573c9fc7e542de22328b2dcf44
BLAKE2b-256 checksum
How to use checksums
f784bb17d5b4e2edbdacf901bc2d8cda4026bd7d235fc0c31a98951dd72cc36a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release history Release notifications | RSS feed

This release

0.2.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page