From 4f356b55d87bb018bb33cffdd8b9076196ced960 Mon Sep 17 00:00:00 2001 From: null4bl3 Date: Tue, 12 May 2026 06:54:34 +0000 Subject: [PATCH] sync script --- scripts/sync_flims.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/sync_flims.sh b/scripts/sync_flims.sh index 9b96766..480589d 100755 --- a/scripts/sync_flims.sh +++ b/scripts/sync_flims.sh @@ -2,8 +2,8 @@ log_file=flims_cron.log -echo "STARTING MOVIES FILE SYNC RAN AT: " `date '+%Y-%m-%d %H:%M:%S'` > /home/$USER/logs/$log_file ; -/usr/bin/rsync -avz --no-perms --no-owner --no-group --stats --progress --exclude=/home/$USER/shares/disk1/film -e "ssh -i /home/$USER/.ssh/id_rsa_what " invalid@mir.whatbox.ca:/home/invalid/files/_movies/ /home/$USER/shares/disk1/film >> /home/$USER/logs/$log_file -echo "CRON MOVIES FILE SYNC RAN AT: " `date '+%Y-%m-%d %H:%M:%S'` >> /home/$USER/logs/$log_file -/usr/bin/chmod 777 -R /home/$USER/shares/disk1/film > /home/$USER/logs/chmod_film.log -echo "CRON CHMOD FILM RAN AT: " `date '+%Y-%m-%d %H:%M:%S'` >> /home/$USER/logs/chmod_film.log \ No newline at end of file +echo "STARTING MOVIES FILE SYNC RAN AT: " `date '+%Y-%m-%d %H:%M:%S'` > /home/null/logs/$log_file ; +/usr/bin/rsync -avz --no-perms --no-owner --no-group --stats --progress --exclude=/home/null/shares/disk1/film -e "ssh -i /home/null/.ssh/id_rsa_what " invalid@mir.whatbox.ca:/home/invalid/files/_movies/ /home/null/shares/disk1/film >> /home/null/logs/$log_file +echo "CRON MOVIES FILE SYNC RAN AT: " `date '+%Y-%m-%d %H:%M:%S'` >> /home/null/logs/$log_file +/usr/bin/chmod 777 -R /home/null/shares/disk1/film > /home/null/logs/chmod_film.log +echo "CRON CHMOD FILM RAN AT: " `date '+%Y-%m-%d %H:%M:%S'` >> /home/null/logs/chmod_film.log \ No newline at end of file