crash-cleanup

    1.0.0 • Public • Published

    crash-cleanup

    Cleans up those pesky files that scatters around Solus when doing a reboot.

    Abstract

    Have you ever rebooted Solus, just to find this?

    $ tree -as
    .
    ├── [  474435584]  .4001
    ├── [ 1028882432]  .700
    ├── [  446013440]  .716
    └── [  532758528]  .818
    $ du -sh
    2.4G .

    Random files, just being around to take up precious space. rm .* is dangerous, and doing regexes in a shell script can become...cumbersome, dangerous too. But! Look no further, as this script aims at fixing all your problems.

    asciicast

    Usage

    npm i -g crash-cleanup

    crash-cleanup [flags] [path]

    Flags

    -r, --recursive Recursive traversal

    -f, --force Don't ask before removal

    If path is omitted, search in current directory.

    Install

    npm i crash-cleanup

    DownloadsWeekly Downloads

    4

    Version

    1.0.0

    License

    GPL

    Last publish

    Collaborators

    • mryakobo