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
|
# functions_sync.sh définit les constantes utiles
|
||||||
LOGIN_NAS="tykayn@192.168.1.15"
|
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 ' start backup script from sync_spaceship script'
|
||||||
logDate "${pwd} sync_spaceship.sh"
|
logDate "${pwd} sync_spaceship.sh"
|
||||||
@ -51,9 +51,9 @@ dpkg --get-selections>~/list_of_debian_apt_packages.txt
|
|||||||
# back pictures to ARCHIVE_SYNCABLE
|
# back pictures to ARCHIVE_SYNCABLE
|
||||||
logDate 'copy of Nextcloud InstantUpload photos'
|
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/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
|
||||||
|
mv ~/Nextcloud/inbox/instantUpload "$ARCHIVE_SYNCABLE/photos/$CURRENT_YEAR" | tee -a $LOG_FILE_BACKUP 2>&1
|
||||||
echo ' ' >> $LOG_FILE_BACKUP_DATES
|
echo ' ' >> $LOG_FILE_BACKUP_DATES
|
||||||
echo "### ${today} medias in $ARCHIVE_SYNCABLE/photos/$CURRENT_YEAR" >> $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
|
ls -l "$ARCHIVE_SYNCABLE/photos/$CURRENT_YEAR" | wc -l | tee -a $LOG_FILE_BACKUP 2>&1
|
||||||
|
@ -52,7 +52,7 @@ echo "----------- from framagit"
|
|||||||
|
|
||||||
else
|
else
|
||||||
echo "##### update project $project_name"
|
echo "##### update project $project_name"
|
||||||
cd $cloning_place$project_name
|
cd $cloning_place/$project_name
|
||||||
git fetch origin
|
git fetch origin
|
||||||
git config pull.ff only
|
git config pull.ff only
|
||||||
git pull
|
git pull
|
||||||
@ -70,7 +70,7 @@ echo "----------- from forge chapril"
|
|||||||
git clone "${prefix_forgechapril}${project_name}.git"
|
git clone "${prefix_forgechapril}${project_name}.git"
|
||||||
else
|
else
|
||||||
echo "##### update project $project_name"
|
echo "##### update project $project_name"
|
||||||
cd $cloning_place$project_name
|
cd $cloning_place/$project_name
|
||||||
git fetch origin
|
git fetch origin
|
||||||
git config pull.ff only
|
git config pull.ff only
|
||||||
git pull
|
git pull
|
||||||
|
Loading…
Reference in New Issue
Block a user