Merge pull request 'Added Darrin to backup-status' (#1) from master into main
Reviewed-on: #1
This commit was merged in pull request #1.
This commit is contained in:
13
bash/backup-status
Normal file → Executable file
13
bash/backup-status
Normal file → Executable 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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user