Menu

Developers Italia We develop public services, together

Follow us

Groot stable

groot

An easy Python tool to move files and folders between Google drive folders

Vitality:

46%

i

The vitality index, as explicited in the guidelines for the acquisition and reuse of software for Italian PA, is calculated according to the following four main categories:

  • Code activity: the daily number of commits and merges;
  • Release history: the daily number of releases;
  • User community: the number of unique authors;
  • Longevity: the age of the project.

The ranges of every measure can be found in the vitality-ranges.yml file.

Development status: stable


Software functionality

Moving files and folders between google drives

CATEGORIES
  • content management
  • detailed information

    Groot stable

    groot

    Last release 2022-03-23 (stable)

    Type of maintenance community

    Technical contact

    Tomaso Tonelli

    Extended description

    A simple solution written in Python to move files between Google drive folders and mantain sharing properties and IDS of the original files. It works even between different domains. An authentication json file is needed for the origin folder editor user (you can obtain the authentication json file by1 following the instructions at https://developers.google.com/workspace/guides/create-credentials), the destination folder must be shared with the origin folder user as editor. Multiple istances of the script can be used on different subfolders within the origin folder as long as different destination subfolders exist in the destination folder. Usage is as very simple: python groot.py origin_folder_id destination_folder_id The json credential file must be renamed to credentials.json and put in the same folder where you put the script.

    back to contents