You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
π§Ή Linux Cleaner β Advanced Academic System Optimization Tool
An advanced, academic-grade Linux system optimization and cleanup tool.
Features Bloom filter deduplication, Shannon entropy analysis, linear regression forecasting,
Pareto analysis, temporal decay scoring, and 18 specialized cleanup modules.
Supports daily scheduling via systemd timer or cron.
# Scan the system (dry-run, no deletion)
linux-cleaner scan
# Run full cleanup
linux-cleaner clean -f
# Generate an academic report
linux-cleaner report -a --output report.txt
# Set up daily scheduling
linux-cleaner schedule --type systemd
π Commands
Command
Description
scan
Scan the system and list cleanable files
clean
Perform cleanup
report
Generate academic optimization report
schedule
Set up daily automatic scheduling
daemon
Background process called by scheduler
analyze
Deep academic analysis (Pareto, entropy, temporal)
# Auto-detect and set up
linux-cleaner schedule --type auto
# Explicit systemd timer
linux-cleaner schedule --type systemd --time 03:00
# Remove scheduling
linux-cleaner schedule --remove
cron
linux-cleaner schedule --type cron --time 03:00
βοΈ Configuration
Configuration is stored at ~/.config/linux-cleaner/config.properties.
# List all settings
linux-cleaner config --list
# Get a specific setting
linux-cleaner config --get cleaner.temp.age-hours
# Change a setting
linux-cleaner config --set cleaner.temp.age-hours 48 --value 48
# Reset to defaults
linux-cleaner config --reset
Key Configuration Options
Key
Default
Description
cleaner.temp.age-hours
24
Delete temp files older than N hours
cleaner.journal.age-days
7
Vacuum journals older than N days
analyzer.dedup-enabled
true
Enable Bloom filter deduplication
analyzer.entropy-enabled
true
Enable Shannon entropy analysis
scheduler.type
none
Scheduler type (systemd, cron, none)
scheduler.time
03:00
Scheduled run time
report.academic-mode
true
Enable academic detailed reports
π‘ Examples
# Quick scan
linux-cleaner scan
# Preview cleanup (dry-run)
linux-cleaner clean -n
# Force cleanup without confirmation
linux-cleaner clean -f
# Academic report saved to file
linux-cleaner report -a -o /tmp/cleaner-report.txt
# Scan only specific modules
linux-cleaner scan --module temp,logs,journal
# JSON output for scripting
linux-cleaner scan -j | jq '.totalScanned'# Disk usage forecast
linux-cleaner forecast
# Deep analysis
linux-cleaner analyze
# Performance benchmark
linux-cleaner benchmark
# Set up daily scheduler
linux-cleaner schedule --type systemd
# View configuration
linux-cleaner config --list