User Tools

Site Tools


exthdd_tv_rsync

ExtHDD_TV_rsync

/root/update-usb-hdd-tv.sh

#!/bin/bash

mount /mnt/exthdd nice ionice -c 3 /mnt/exthdd/update.sh umount /mnt/exthdd

/mnt/exthdd/update.sh

#!/bin/bash

OPTIONS=“-vrLWhi –size-only –progress –delete” SOURCE=“/net/universe/mnt/pool/media/videos” DEST=“/mnt/exthdd”

rsync $OPTIONS –exclude=“Manual/” $SOURCE'/Unwatched (Andrew)/' $DEST/Unwatched rsync $OPTIONS $SOURCE'/Unwatched (Andrew)/Manual/_'* $DEST/Unwatched-Manual rsync $OPTIONS $SOURCE'/Unwatched (Andrew)/Manual/iPlayer/!Primary/' $DEST/iPlayer rsync $OPTIONS $SOURCE'/tv/My Little Pony - Friendship is Magic/Season 2/' $DEST/MLP rsync $OPTIONS $SOURCE'/tv/Futurama/Season 6/' $DEST/Futurama rsync $OPTIONS $SOURCE'/tv/How I Met Your Mother/Season 7/' $DEST/HIMYM

exthdd_tv_rsync.txt · Last modified: 2014/11/24 01:14 by 0.0.0.0