All Projects → davidstrauss → Google Drive Recursive Ownership

davidstrauss / Google Drive Recursive Ownership

Licence: mit
Tool to recursively give away file and document ownership to another user.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Google Drive Recursive Ownership

Pydrive
Google Drive API Python wrapper library
Stars: ✭ 1,180 (+570.45%)
Mutual labels:  gsuite, google-drive
code
Google Apps Script - Code Snippets 👩🏻‍💻
Stars: ✭ 108 (-38.64%)
Mutual labels:  gsuite, google-drive
Gam
command line management for Google Workspace
Stars: ✭ 2,558 (+1353.41%)
Mutual labels:  gsuite, google-drive
drive-zipextractor
Extract (decompress) ZIP files into Google Drive using the Google Drive API
Stars: ✭ 432 (+145.45%)
Mutual labels:  gsuite, google-drive
Drive Zipextractor
Extract (decompress) ZIP files into Google Drive using the Google Drive API
Stars: ✭ 425 (+141.48%)
Mutual labels:  gsuite, google-drive
google-backup
Drive/Gmail/Calendar backups
Stars: ✭ 31 (-82.39%)
Mutual labels:  gsuite, google-drive
drive-music-player
Fully client side Music Player for Google Drive
Stars: ✭ 567 (+222.16%)
Mutual labels:  gsuite, google-drive
Drive Music Player
Fully client side Music Player for Google Drive
Stars: ✭ 554 (+214.77%)
Mutual labels:  gsuite, google-drive
Drive Utils
Google Drive API utility functions.
Stars: ✭ 149 (-15.34%)
Mutual labels:  gsuite, google-drive
Go Samples
Go samples for Google Workspace APIs
Stars: ✭ 117 (-33.52%)
Mutual labels:  gsuite
Drivesync
Google Drive synchronization for Linux
Stars: ✭ 148 (-15.91%)
Mutual labels:  google-drive
Apps Script Oauth1
An OAuth1 library for Google Apps Script.
Stars: ✭ 115 (-34.66%)
Mutual labels:  gsuite
Plexidrive
Scripts to facilitate the use of cloud storage (such as Google Drive) as storage for Plex media server
Stars: ✭ 118 (-32.95%)
Mutual labels:  google-drive
Google Drive Torrent
Download torrents to your Google Drive fast and direct
Stars: ✭ 149 (-15.34%)
Mutual labels:  google-drive
Telegram Clonebot
Simple Bot to clone Google Drive Files (or Folders) to your Team Drive[or Normal Drive]. P.S This is not a Mirror Bot. Enjoy ✌🏻
Stars: ✭ 114 (-35.23%)
Mutual labels:  google-drive
Importexportfree
Improve default Magento 2 Import / Export features - cron jobs, CSV , XML , JSON , Excel , mapping of any format, Google Sheet, data and price modification, improved speed and a lot more!
Stars: ✭ 160 (-9.09%)
Mutual labels:  google-drive
G Desktop Suite
Google Suite as a desktop app. Made possible with Electron.
Stars: ✭ 1,529 (+768.75%)
Mutual labels:  google-drive
Rxdrive
RxJava wrapper for Google Drive Android API
Stars: ✭ 106 (-39.77%)
Mutual labels:  google-drive
Embetacloud
directly upload files to google drive
Stars: ✭ 164 (-6.82%)
Mutual labels:  google-drive
Desktop Google Keep Osx
A Super Simple Desktop Client for Mac OSX Built in Javascript and MacGap
Stars: ✭ 159 (-9.66%)
Mutual labels:  google-drive

Google Drive Recursive Ownership Tool

Supported Files

G Suite for Government and G Suite for Education accounts can change ownership of any file owned by the current user, including uploaded/synced files suchs as PDFs.

Other Google Accounts such as G Suite for Business or Personal Google Accounts can only transfer ownership of Google files (Docs, Sheets, Sildes, Forms, Drawings, My Maps, and folders).

NOTE: Ownership can only be transferred to members of the same G Suite or Google domain. Ex. @gmail.com can only transfer to other @gmail.com addresses.

NOTE: The Google Drive API does not allow suppressing notifications for change of ownership if the if the new owner does not already have access to the file. However, if the new owner already has access to the file, upgrading their permissions to ownership will not generate a notification.

Setup

git clone https://github.com/davidstrauss/google-drive-recursive-ownership
pip install --upgrade google-api-python-client oauth2client six

Usage

First, replace the sample client_secrets.json with your own client secrets. Otherwise, authorizations you create will be usable by anyone with access to the sample key (the entire internet).

Next, if transfer.py is contained in a folder listed in your system's PATH this can be run from anywhere. Otherwise it needs to be run from the directory where transfer.py is located.

python  transfer.py  PATH-PREFIX  NEW-OWNER-EMAIL  SHOW-ALREADY-OWNER
  • PATH-PREFIX assumes use of "/" or "" as appropriate for your operating system.

    • The PATH-PREFIX folder must be in My Drive section. For shared folders right click and select Add to My Drive.
  • SHOW-ALREADY-OWNER "true"|"false" (default true) to hide feedback for files already set correctly.

Windows Example:

python transfer.py "Folder 1\Folder 2\Folder 3" [email protected] true

Mac/Linux Example:

python transfer.py "Folder 1/Folder 2/Folder 3" [email protected] false
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].