changing icloud dir to be environment variable
This commit is contained in:
parent
131232c5cf
commit
83a1332f91
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue