Skip to content

Zcleaner is a lightweight Linux utility that safely removes files from user-specified directories to free up disk space. It provides detailed cleaning statistics and protects against accidental deletion of critical system files.

License

Notifications You must be signed in to change notification settings

xidruk/zcleaner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Zcleaner

A lightweight, configurable directory cleaning utility for Linux systems

About

Zcleaner is a command-line utility that helps you maintain a clean filesystem by automatically removing unnecessary files from specified directories. With built-in safeguards and detailed statistics, it's designed to be both powerful and safe for regular use.

Features

  • Clean multiple directories in a single operation
  • Detailed cleaning statistics (before/after size, freed space)
  • Home directory usage tracking
  • Protection against critical system directories
  • Configuration management via CLI
  • Path expansion support (~ for home directory)

Installation

Prerequisites

  • gcc compiler
  • make (build system)

Installation

git clone https://github.com/xidruk/zcleaner.git
cd zcleaner
make

Usage

Clean cache directories

run :

./zclean

Add new cache directories to the conf list

run :

./zclean --add "path"

Drop directory from the conf list

run :

./zcleaner --drop "path"

About

Zcleaner is a lightweight Linux utility that safely removes files from user-specified directories to free up disk space. It provides detailed cleaning statistics and protects against accidental deletion of critical system files.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published