Added Darrin to backup-status

This commit is contained in:
2026-01-26 17:35:28 +10:30
parent 565b9464a4
commit a014d26138

13
bash/backup-status Normal file → Executable file
View File

@@ -1,10 +1,15 @@
#!/bin/bash #!/bin/bash
# /usr/local/bin/ # /usr/local/bin/
# backup-status by htrigg # backup-status by htrigg
# #
# Displays the mounted media disks and the backup directories # Displays the mounted media disks and the backup directories
#
tput setaf 2;df -h | awk '$6 ~ "media"' # v2.0 released 26/01/2026 to add Darrin
tput sgr0;ls -ltr --color=auto /media/corin/BACKUP
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