Compare commits

...

2 Commits

Author SHA1 Message Date
89def70d77 Merge pull request 'Added Darrin to backup-status' (#1) from master into main
Reviewed-on: #1
2026-01-31 15:15:49 +10:30
a014d26138 Added Darrin to backup-status 2026-01-26 17:35:28 +10:30

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