Giter Site home page Giter Site logo

txoof / folderaudit Goto Github PK

View Code? Open in Web Editor NEW
2.0 3.0 0.0 62.79 MB

Audit a Google Drive folder recursively and generate a google sheet that shows ownership, size and mime type

License: GNU General Public License v3.0

Jupyter Notebook 65.48% Python 34.20% Shell 0.32%

folderaudit's Introduction

folderAudit

Audit a google drive folder and all sub-folders for ownership, size and other properties.

This is particularly useful when preparing to move a folder into a Google Shared Drive

Building

There appears to be some sort of bug in the google-api-python-client when used with pyinstaller.

The following needs to be added to the .spec file:

from PyInstaller.utils.hooks import copy_metadata # import the utils.hooks.copy_metadata
extra_files = copy_metadata('google-api-python-client') # gather the appropriate metadata
extra_files.append(('./resources', './resources')) # append any other datas 

a = Analysis(['folderAudit.py'],

             pathex=['./'], # set to ./ to avoid path issues
             binaries=[],
             datas=extra_files, # add the extra_files here
             hiddenimports=['google-api-python-client', 'googleapiclient'], # this does not appear to work, but included for completeness
             hookspath=[],
             runtime_hooks=[],
             excludes=[],
             win_no_prefer_redirects=False,
             win_private_assemblies=False,
             cipher=block_cipher,
             noarchive=False)
pyz = PYZ(a.pure, a.zipped_data,

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.