...
https://docs.globus.org/globus-connect-personal/install/linux/
sudo apt-get install tk tcllib
wget https://downloads.globus.org/globus-connect-personal/linux/stable/globusconnectpersonal-latest.tgz
tar xzf globusconnectpersonal-latest.tgz
cd globusconnectpersonal-x.y.z
./globusconnectpersonal
Click the link from the cli to login
Enter in auth code
Add name for the endpoint. When successfully logged in, note down the UUID that has been generated.
Run
pip install globus-cli
and globus login for root userEnter auth code
Create a timer with:
globus timer create transfer --notify failed --interval 10m --recursive --sync-level mtime 4af299cc-2f37-11ef-9620-453c3ae125a5:/home/benchbot/benchbot-brain-app/mini_computer_api/images/ "ea8aff4a-274e-4c48-bc23-5b93da0cc941:/semifield-upload/"
Run globus login
Enter auth code
Run .The UUID for local system being used here is generated when globusconnectpersonal is setup.
Create a cronjob for deleting uploaded data by running
crontab -e
and append*/10 * * * * /home/benchbot/benchbot-brain-app/mini_computer_api/delete_uploaded_images.sh >> /home/benchbot/benchbot-brain-app/mini_computer_api/logs/file_deletion_output.log 2>&1
...