Difference between revisions of "GDrive"
Jump to navigation
Jump to search
Johnbullard (talk | contribs) m (Johnbullard moved page GDrive to Draft:GDrive without leaving a redirect: Make draft) |
|||
(10 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
[[Category:Software]] | [[Category:Software]] | ||
− | [[Category: | + | [[Category:File Management]] |
+ | [[Category:Utility]] | ||
{|<!--CONFIGURATION: REQUIRED--> | {|<!--CONFIGURATION: REQUIRED--> | ||
|{{#vardefine:app|GDrive}} | |{{#vardefine:app|GDrive}} | ||
Line 14: | Line 15: | ||
|{{#vardefine:installation|}} <!--INSTALLATION--> | |{{#vardefine:installation|}} <!--INSTALLATION--> | ||
|} | |} | ||
+ | {|align=right | ||
+ | |__TOC__ | ||
+ | |} | ||
<!--BODY--> | <!--BODY--> | ||
<!--Description--> | <!--Description--> | ||
{{#if: {{#var: url}}| | {{#if: {{#var: url}}| | ||
{{App_Description|app={{#var:app}}|url={{#var:url}}|name={{#var:app}}}}|}} | {{App_Description|app={{#var:app}}|url={{#var:url}}|name={{#var:app}}}}|}} | ||
+ | |||
+ | '''Notice:''' GDrive is deprecated and archived as of april, 2023. To access Google Drive or other cloud storage, use [[Rclone]]. Learn more [https://support.google.com/accounts/answer/12379384 here]. | ||
gdrive is a command line utility for interacting with Google Drive. You can use this utility to transfer files between the HiPerGator environment and your UF-provided Google Drive storage. | gdrive is a command line utility for interacting with Google Drive. You can use this utility to transfer files between the HiPerGator environment and your UF-provided Google Drive storage. | ||
Line 33: | Line 39: | ||
<!--Run--> | <!--Run--> | ||
{{#if: {{#var: exe}}|==Additional Information== | {{#if: {{#var: exe}}|==Additional Information== | ||
+ | For information on accessing, authorizing, or removing access, view [[Managing GDrive Access]] | ||
− | + | ===GDrive commands=== | |
− | + | You can get a full list of available commands by typing "'''gdrive help'''" but example of the most common ones are: | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | ====List files currently in your Google Drive:==== | |
+ | gdrive list | ||
− | + | ====Upload a file to your Google Drive:==== | |
+ | gdrive upload /orange/yourgroup/yourusername/mydata/somefile.dat | ||
+ | ====Upload an entire directory to your Google Drive:==== | ||
+ | gdrive upload --recursive /orange/yourgroup/yourusername/mydata/ | ||
+ | ====Download a file from your Google Drive to a specific directory:==== | ||
+ | gdrive download --path /orange/yourgroup/yourusername/mydata/ 1PrZieajI6P6ikl1zk1Zn4zRhXZMOhoDg | ||
+ | #or alternatively: gdrive download query --path /orange/yourgroup/yourusername/mydata/ somefile.dat | ||
|}} | |}} | ||
<!--Job Scripts--> | <!--Job Scripts--> | ||
Line 90: | Line 87: | ||
See the [[{{PAGENAME}}_Install]] page for {{#var: app}} installation notes.|}} | See the [[{{PAGENAME}}_Install]] page for {{#var: app}} installation notes.|}} | ||
<!--Turn the Table of Contents and Edit paragraph links ON/OFF--> | <!--Turn the Table of Contents and Edit paragraph links ON/OFF--> | ||
− | + | __NOEDITSECTION__ |
Latest revision as of 20:03, 5 October 2023
Description
Notice: GDrive is deprecated and archived as of april, 2023. To access Google Drive or other cloud storage, use Rclone. Learn more here.
gdrive is a command line utility for interacting with Google Drive. You can use this utility to transfer files between the HiPerGator environment and your UF-provided Google Drive storage.
Environment Modules
Run module spider GDrive
to find out what environment modules are available for this application.
System Variables
- HPC_GDRIVE_DIR - installation directory
- HPC_GDRIVE_BIN - executable directory
Additional Information
For information on accessing, authorizing, or removing access, view Managing GDrive Access
GDrive commands
You can get a full list of available commands by typing "gdrive help" but example of the most common ones are:
List files currently in your Google Drive:
gdrive list
Upload a file to your Google Drive:
gdrive upload /orange/yourgroup/yourusername/mydata/somefile.dat
Upload an entire directory to your Google Drive:
gdrive upload --recursive /orange/yourgroup/yourusername/mydata/
Download a file from your Google Drive to a specific directory:
gdrive download --path /orange/yourgroup/yourusername/mydata/ 1PrZieajI6P6ikl1zk1Zn4zRhXZMOhoDg #or alternatively: gdrive download query --path /orange/yourgroup/yourusername/mydata/ somefile.dat