Created
October 27, 2016 04:51
-
-
Save agusvama/09e0523d9db1c3db0f6f2054c1c038ec to your computer and use it in GitHub Desktop.
turn off slackware cleaning /tmp folder before, leaveing SBo cache folder
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo cleaning /tmp | |
cd /tmp | |
find ! -name 'SBo' ! -name . ! -name .. -type d -exec rm -rf {} + | |
find ! -name . ! -name .. -type f -exec rm -f {} + | |
echo turn off | |
shutdown -h now |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment