diff --git a/apsalar/icloudsync b/apsalar/icloudsync index e32e982..8938836 100755 --- a/apsalar/icloudsync +++ b/apsalar/icloudsync @@ -28,7 +28,7 @@ check_session () { start_sync () { if check_session 0; then tmux new-session -d -s $session - tmux send-keys -t $session 'icloudpd --directory=$HOME/Pictures --username $ICLOUD_USERNAME --watch-with-interval 3600' C-m + tmux send-keys -t $session 'icloudpd --directory=$ICLOUD_DIR --username $ICLOUD_USERNAME --watch-with-interval 3600' C-m echo started else echo already active