google-drive-upload

Bash scripts to upload files to google drive
授权协议 MIT License
开发语言 SHELL
所属分类 应用工具、 终端/远程登录
软件类型 开源软件
地区 不详
投 递 者 阴迪
操作系统 跨平台
开源组织
适用人群 未知
 软件概览

Google drive upload

Google drive upload is a collection of shell scripts runnable on all POSIX compatible shells ( sh / ksh / dash / bash / zsh / etc ).

It utilizes google drive api v3 and google OAuth2.0 to generate access tokens and to authorize application for uploading files/folders to your google drive.

  • Minimal
  • Upload or Update files/folders
  • Recursive folder uploading
  • Sync your folders
    • Overwrite or skip existing files.
  • Resume Interrupted Uploads
  • Share files/folders
    • To anyone or a specific email.
  • Config file support
    • Easy to use on multiple machines.
    • Support for multiple accounts in a single config.
  • Latest gdrive api used i.e v3
  • Pretty logging
  • Easy to install and update
    • Self update
    • Auto update
    • Can be per-user and invoked per-shell, hence no root access required or global install with root access.
  • An additional sync script for background synchronisation jobs. Read Synchronisation section for more info.

Table of Contents

Documentation

Installation and Usage documentation is available at https://labbots.github.io/google-drive-upload/

Reporting Issues

Issues Status

Use the GitHub issue tracker for any bugs or feature suggestions.

Before creating an issue, make sure to follow the guidelines specified in CONTRIBUTION.md

Contributing

Total Contributers
Pull Requests

Submit patches to code or documentation as GitHub pull requests! Check out the contribution guide

Contributions must be licensed under the MIT. The contributor retains the copyright.

Inspired By

  • github-bashutils - soulseekah/bash-utils
  • deanet-gist - Uploading File into Google Drive
  • Bash Bible - A collection of pure bash alternatives to external processes
  • sh bible - A collection of posix alternatives to external processes

License

MIT

Treeware

This package is Treeware. You are free to use this package, but if you use it in production, then we would highly appreciate you buying the world a tree to thank us for our work. By contributing to the Treeware forest you’ll be creating employment for local families and restoring wildlife habitats.

  • 如果图片失效或者格式已乱,建议阅读原文   在【案例】搭建 Quizzes 网站,每天赚取 30-50 美元 提到下载站项目,因为整个项目代码加上一些说明,会导致内容太多,所以准备分成几部分,这样看起来更舒服。 本文主要内容:通过 Google Drive Api 将文件上传到谷歌云盘,然后获取到文件的下载链接,用户只要点击该链接就能下载文件。 这里面坑非常多,获取下载链接时, API 版本改来改

  • 继上一篇Googledrive开发后的第二篇,APP整合GoogleDirve功能,这篇主要写一下上传大型文件这个坑,新手上路最苦的是找不到事例,硬着头皮过河强行摸出了这个GoogleDrive 的 upload large file 的用法 Android整合Google的文章太少了,写一篇记录一下自己所踩的坑 先放官方问文档: GoogleDrive 其次就是得有个google账号,这部分略过

  • 1、登录google drive(https://drive.google.com/drive); 2、点击网页左侧的New,选择Folder,新建文件夹; 3、点击网页左侧的New,选择File upload,上传文件; 4、点击网页左侧的New,选择Folder upload,上传文件夹; 5、使用jupyter生成.ipynb文件,上传.ipynb文件到google drive,右击.ipy

  • 参考 https://stackoverflow.com/questions/57516930/prevent-html-file-input-from-selecting-files-in-google-drive-while-using-android.

 相关资料
  • Google Drive SDK 是 Google Drive 服务的接口开发包。Google Drive 是 Google 提供的云存储服务。 此 API 提供多种编程语言版本,涉及 .NET/Java/Objective-C/Go/PHP/Python/Ruby/JavaScript 语言。

  • 我试图运行此Java代码,以便列出我的Google Drive中的所有文件: 当我运行代码时,我被重定向到登录页面以输入我的Google的电子邮件凭据。如何跳过此步骤?代码我将完全在后台使用,我需要使用JSON文件中的凭据。

  • Laravel & Google Drive Storage Demo project with Laravel 5.4 Look at the commit history to see each of the steps I have taken to set this up. Set up this demo project locally git clone git@github.com:

  • 我的桌面应用程序,写在Java,试图下载公共文件从谷歌驱动器。正如我所发现的,它可以通过使用文件的来实现(这是为了能够在没有用户授权的情况下下载公共文件)。 因此,下面的代码可以处理小文件: 但它对大文件不起作用,因为在这种情况下,未经用户确认并带有google病毒扫描警告,文件不能直接通过下载。请参阅示例:web内容链接。 所以我的问题是如何在没有用户授权的情况下从Google Drive获取公

  • 我的代码有问题。你们能帮帮我吗? 进程 出现错误(Type=内部服务器错误,状态=500)。GoogleJSONClient.(LCOM/Google/API/Client/HTTP/HTTPTransport;LCOM/Google/API/Client/HTTP/HTTPRequestInitializer;LJava/Lang/String;LJava/Lang/String;LCOM/Go