Files
CodeSnoeperd/bash/backup-status
2026-01-26 17:35:28 +10:30

16 lines
378 B
Bash
Executable File

#!/bin/bash
# /usr/local/bin/
# backup-status by htrigg
#
# Displays the mounted media disks and the backup directories
#
# 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