This commit is contained in:
msnie
2024-02-03 11:58:42 +01:00
parent 17ca1c805f
commit 5b0b5f548c
706 changed files with 135245 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
#!/bin/bash
USER=knast
PATH=shares
TV_DIR=tv
CLASSICS_DIR=classics
FILM_DIR=film
/usr/bin/chmod -v 0644 -R /home/$USER/$PATH/disk1/$TV_DIR/* > /home/$USER/logs/tv_chmod.log
echo "CRON CHMOD TV RAN AT: " `/usr/bin/date '+%Y-%m-%d %H:%M:%S'` >> /home/$USER/logs/tv_chmod.log
/usr/bin/chmod -v 0644 -R /home/$USER/$PATH/disk1/$film/* > /home/$USER/logs/film_chmod.log
echo "CRON CHMOD FILM RAN AT: " `/usr/bin/date '+%Y-%m-%d %H:%M:%S'` >> /home/$USER/logs/film_chmod.log
/usr/bin/chmod -v 0644 -R /home/$USER/$PATH/disk1/$CLASSICS_DIR/* > /home/$USER/logs/classic_chmod.log
echo "CRON CHMOD CLASSIC RAN AT: " `/usr/bin/date '+%Y-%m-%d %H:%M:%S'` >> /home/$USER/logs/classic_chmod.log