Cleans up those pesky files that scatters around Solus when doing a reboot.
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.
npm i -g crash-cleanup
crash-cleanup [flags] [path]
-r, --recursive
Recursive traversal
-f, --force
Don't ask before removal
If path is omitted, search in current directory.