The entire contents of a user's Google Drive can be downloaded with a single query command, but how about uploading? Can multiple files or entire folders be uploaded?
gam user <username>|group <groupname>|ou <ouname>|all users update drivefile [id <drive file id> | drivefilename <filename>] [localfile <filename>] [newfilename <filename>] [convert] [ocr] [ocrlanguage <language>] [restricted true|false] [starred true|false] [trashed true|false] [viewed true|false] [lastviewedbyme <date>] [modifieddate <date>] [description <description>] [mimetype <MIME type>] [parentid <folder id>] [parentname <folder name>] [writerscantshare]
The above is the syntax for uploading files. I see "filename" but no "foldername" or anything that indicates multiple files at once.
My goal is to download all of our users' Drive contents re-upload them to their respective accounts in a new Google Apps domain. I think I've got the download part figured out, but uploading may be an issue... I believe a script which cycles through a list of users/folders/files and uploads them one by one to the appropriate account is possible. I may pursue this assuming the worst. :-)