diff --git a/bash/workflow_nextcloud/sync_spaceship.sh b/bash/workflow_nextcloud/sync_spaceship.sh index c8411ec6..9b7f0c1b 100644 --- a/bash/workflow_nextcloud/sync_spaceship.sh +++ b/bash/workflow_nextcloud/sync_spaceship.sh @@ -18,7 +18,7 @@ # functions_sync.sh définit les constantes utiles LOGIN_NAS="tykayn@192.168.1.15" -source ~/Nextcloud/ressources/workflow_nextcloud/functions_sync.sh +. ~/Nextcloud/ressources/workflow_nextcloud/install/functions_sync.sh logDate ' start backup script from sync_spaceship script' logDate "${pwd} sync_spaceship.sh" @@ -51,9 +51,9 @@ dpkg --get-selections>~/list_of_debian_apt_packages.txt # back pictures to ARCHIVE_SYNCABLE logDate 'copy of Nextcloud InstantUpload photos' -mv /home/tykayn/Nextcloud/inbox/instantUpload "$ARCHIVE_SYNCABLE/photos/$CURRENT_YEAR" | tee -a $LOG_FILE_BACKUP 2>&1 mv ~/Nextcloud/InstantUpload/Camera/* "$ARCHIVE_SYNCABLE/photos/a dispatcher" | tee -a $LOG_FILE_BACKUP 2>&1 mv ~/Nextcloud/inbox/instantUpload/* "$ARCHIVE_SYNCABLE/photos/$CURRENT_YEAR" | tee -a $LOG_FILE_BACKUP 2>&1 +mv ~/Nextcloud/inbox/instantUpload "$ARCHIVE_SYNCABLE/photos/$CURRENT_YEAR" | tee -a $LOG_FILE_BACKUP 2>&1 echo ' ' >> $LOG_FILE_BACKUP_DATES echo "### ${today} medias in $ARCHIVE_SYNCABLE/photos/$CURRENT_YEAR" >> $LOG_FILE_BACKUP_DATES ls -l "$ARCHIVE_SYNCABLE/photos/$CURRENT_YEAR" | wc -l | tee -a $LOG_FILE_BACKUP 2>&1 diff --git a/bash/workflow_nextcloud/update_git_projects.sh b/bash/workflow_nextcloud/update_git_projects.sh index 74c1b8ca..136590b1 100644 --- a/bash/workflow_nextcloud/update_git_projects.sh +++ b/bash/workflow_nextcloud/update_git_projects.sh @@ -52,7 +52,7 @@ echo "----------- from framagit" else echo "##### update project $project_name" - cd $cloning_place$project_name + cd $cloning_place/$project_name git fetch origin git config pull.ff only git pull @@ -70,7 +70,7 @@ echo "----------- from forge chapril" git clone "${prefix_forgechapril}${project_name}.git" else echo "##### update project $project_name" - cd $cloning_place$project_name + cd $cloning_place/$project_name git fetch origin git config pull.ff only git pull