Compare commits
2 Commits
565b9464a4
...
89def70d77
| Author | SHA1 | Date | |
|---|---|---|---|
| 89def70d77 | |||
| a014d26138 |
13
bash/backup-status
Normal file → Executable file
13
bash/backup-status
Normal file → Executable file
@@ -1,10 +1,15 @@
|
||||
#!/bin/bash
|
||||
|
||||
|
||||
# /usr/local/bin/
|
||||
# backup-status by htrigg
|
||||
#
|
||||
# Displays the mounted media disks and the backup directories
|
||||
|
||||
tput setaf 2;df -h | awk '$6 ~ "media"'
|
||||
tput sgr0;ls -ltr --color=auto /media/corin/BACKUP
|
||||
#
|
||||
# v2.0 released 26/01/2026 to add Darrin
|
||||
|
||||
tput setaf 2;df -h | awk '$6 ~ "media"'
|
||||
tput setaf 3;echo "=== Corin ==="
|
||||
tput sgr0;ls -ltr --color=auto /media/corin/BACKUP
|
||||
tput setaf 3;echo "=== Darrin ==="
|
||||
tput sgr0;ls -ltr --color=auto /media/darrin/BACKUP
|
||||
|
||||
|
||||
Reference in New Issue
Block a user