mirror of
https://github.com/acedanger/shell.git
synced 2025-12-06 00:00:13 -08:00
simplified flags for running as cron job
This commit is contained in:
@@ -1,7 +1,11 @@
|
||||
#! /bin/bash
|
||||
|
||||
function move-backups() {
|
||||
rsync -vrzPh --include '*.gz' --remove-source-files vperanda:/home/acedanger/backup/docker-data /mnt/m/backups/
|
||||
# -q quiet
|
||||
# -r recursive
|
||||
# -z compress
|
||||
rsync -qrz --include '*.gz' --remove-source-files vperanda:/home/acedanger/backup/docker-data
|
||||
/mnt/m/backups/
|
||||
}
|
||||
|
||||
if [ "$(expr substr $(uname -s) 1 5)" == 'Linux' ]; then
|
||||
|
||||
Reference in New Issue
Block a user