Added run alias and some random bash scripts
This commit is contained in:
7
tld/cleanup.sh
Executable file
7
tld/cleanup.sh
Executable file
@@ -0,0 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
ROOT="$HOME/backup_tld"
|
||||
|
||||
for save in $(find . -mindepth 1 -maxdepth 1 -type d | cut -d '/' -f 2 | sort -n | head -n -3); do
|
||||
rm -rf "$ROOT/$save"
|
||||
done
|
||||
Reference in New Issue
Block a user