upload folder to user drive

223 views
Skip to first unread message

Keith Craig

unread,
Jul 11, 2018, 9:25:06 PM7/11/18
to google-ap...@googlegroups.com

Hi,

I am wanting to upload user home folders from a server to their Google Drive. Is there a way to recursively copy the contents of a folder to a user’s drive?

I tried

gam user fr...@nodomain.com add drivefile localfile /Users/fred/Documents/AFolder recusive

But I get ERROR: /Users/fred/Documents/AFolder: [Errno 21] Is a directory: '/Users/fred/Documents/AFolder '

 

I figure I am not reading the manual correctly and just not getting my head around this one.

 

Thanks

 

Keith

 

Keith Craig BCom PGDipBus(IS) MIM

Systems Administrator 

Phone +64 9 5231060 x843 Mobile +64 (0) 21541549

/Users/keithc/Library/Containers/com.microsoft.Outlook/Data/Library/Caches/Signatures/signature_538397483 

 

Peter Smulders

unread,
Jul 13, 2018, 10:20:32 AM7/13/18
to GAM for G Suite
Hi Keith,

I am wanting to upload user home folders from a server to their Google Drive. Is there a way to recursively copy the contents of a folder to a user’s drive?


Not using GAM or GAMADV-X. You should try rclone (https://rclone.org/drive/)

As an alternative -- and depending on whether it is one user or a need to do this work for multiple users -- for a single account, you could install Google Drive File Stream ( https://support.google.com/drive/answer/7329379?hl=en ) or Google Backup and Sync ( https://support.google.com/drive/answer/2374987 ), point those programs at the top folder(s) and let them figure it out.

--peter

Keith Craig

unread,
Jul 13, 2018, 4:00:48 PM7/13/18
to GAM for G Suite
Peter,
Thanks for this. We are moving away from using a local server to using Google Drive and I want to move users' data for them rather than having to go to each user and talk them through it. I used File Stream to copy shared folders to Team Drive - worked well.

regards

Keith
Reply all
Reply to author
Forward
0 new messages