update of assets from refresh script
This commit is contained in:
parent
d00ca7f118
commit
51f25487ff
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue