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
Copy file name to clipboardExpand all lines: docs/README.md
+6-5Lines changed: 6 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# Useful Bash Scripts
2
2
3
-
A set of miscellaneous Bash shell scripts, mainly centered around task automation. The scripts adhere to the [Google Shell Style Guide](https://google.github.io/styleguide/shellguide.html).
3
+
A set of miscellaneous Bash shell scripts to be used on a Linux system, mainly centered around task automation. The coding format of the scripts adhere to the [Google Shell Style Guide](https://google.github.io/styleguide/shellguide.html).
4
4
5
5
**Uploading in progress**
6
6
@@ -11,13 +11,14 @@ It is recommended to be used as a startup script. All configuration is handled b
11
11
12
12
## smart-cleanup
13
13
14
-
Performs an automated system cleanup on a Linux system, by executing the following steps: cleaning cache directory, emptying Trash, and removing older temp files, logs, and journals.
15
-
It also clears the package manager's cache, and can check for orphaned packages, if needed.
16
-
The severity of the cleanup is set by command line arguments. The script can only properly run with sudo privileges. Both an Arch and a Debian version is available.
14
+
Performs an automated system cleanup on a Linux system.
15
+
The following steps can be executed: cleaning the cache directory, emptying the Trash, removing old temp and logs files, vacuuming the journals, clearing the pacman cache, and checking for orphaned packages.
16
+
The severity of the cleanup (normal or "aggressive" level) can be set by command line arguments.
17
+
The script can only properly run with sudo privileges. Both an Arch and a Debian version is available.
17
18
18
19
---
19
20
20
-
Tested on: CachyOS, GNU bash, 5.3.9(1)-release, and MX Linux 23.5, GNU bash, 5.2.15(1)-release.
21
+
**Tested on:** CachyOS, GNU bash, 5.3.9(1)-release, and MX Linux 23.5, GNU bash, 5.2.15(1)-release.
0 commit comments