You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 6, 2024. It is now read-only.
### This script is to zip and save certain directories from Google Drive which have been backed up to 'ngi.transfer' to the homer system for QA purposes
### This script requires that The Google Backup and Sysnc utility be running on the ngi.transfer computer and that ngi.transfer has access to homer
### Recommended to be run once a month. The file `~/Library/Preferences/nsmb.conf` contains the password details for mount_smbfs.
###
currentDate=`date +"%Y-%m-%d"`
echo 'Run $currentDate'
#Zip GDrive Sync file
zip -vr $HOME/opt/zipFilesTemp/QAbackup.$currentDate.zip $HOME/Google\ Drive/
#make mountpoint
mkdir -p $HOME/kvalitetssystem
#export the password from the file `~/Library/Preferences/nsmb.conf`