Skip to content

GAM 6.03.34

Compare
Choose a tag to compare
@taers232c taers232c released this 07 Jun 04:35
· 1736 commits to master since this release
701f6fe

Latest updates

Added option stripnameprefix <String> to gam create|copy|update drivefile to aid in the following situation.
You have a CSV file listing some files owned by an external user; your ultimate goal is to move them to a Shared Drive.
This is not possible so you decide to make locally owned copies, backup the externally owned originals and then rename
the copies to have the original name and then move those copies to thw Shared Drive.

# Make copies of the externally owned files
gam csv ./ExtFiles.csv gam user [email protected] copy drivefile "~id"
# You now have `FileName` and 'Copy of Filename`; move the originals to a backup folder
gam csv ./ExtFiles.csv gam user [email protected] update drivefile "~id" parentid <BackupParentFolderID>
# Generate a list of the "Copy of " copied files
gam redirect csv ./CopyOfFiles.csv user [email protected] print filelist fields id,name query "name contains 'Copy of '"
# Rename the files stripping off the "Copy of " prefix
gam csv ./CopyOfFiles.csv gam user [email protected] update drivefile "~id" newfilename "~name" stripnameprefix "Copy of "

Updated gam copy drivefile to handle the following error:

ERROR: internalError - Internal Error

Installation

If you are a first time Gam user:

If you are upgrading from standard Gam

If you are upgrading from GAMADV-X or GAMADV-XTD