#!/bin/bash

TOR_NAME=$1
TOR_CATEGORY=$2
TOR_CONTENT_PATH=$3
TOR_ROOT_PATH=$4
TOR_SAVE_PATH=$5
TOR_NB_FILES=$6
TOR_SIZE=$7


#cat > /mnt/scripts/torrent.txt <<EOF
#"Name=$TOR_NAME"
#"Category=$TOR_CATEGORY"
#"Content Path=$TOR_CONTENT_PATH"
#"Root Path=$TOR_ROOT_PATH"
#"Save Path=$TOR_SAVE_PATH"
#"Nb Files=$TOR_NB_FILES"
#"Size=$TOR_SIZE"
#EOF 

if [ $TOR_CATEGORY == "audiobooks" ]
then
cp -al "$TOR_CONTENT_PATH" /mnt/downloads/auto-m4b/recentlyadded/
fi

