Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fizker/google-drive-downloader
Lists and downloads files from google drive
https://github.com/fizker/google-drive-downloader
Last synced: 4 days ago
JSON representation
Lists and downloads files from google drive
- Host: GitHub
- URL: https://github.com/fizker/google-drive-downloader
- Owner: fizker
- Created: 2015-11-11T20:47:17.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-03-10T08:35:10.000Z (over 7 years ago)
- Last Synced: 2024-10-28T08:04:54.940Z (21 days ago)
- Language: JavaScript
- Size: 21.5 KB
- Stars: 10
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
google-drive-downloader
=======================Lists and downloads files from google drive. It can easily filter files on date
and find a specific sub-folder to iterate through.Node 4+ only
-----------0.2+ runs on Node 4+ only. It can run on older Node.js through
[Babel](https://babeljs.io).As an alternative, install the 0.1 version range. It functions on older versions
of Node.Auth setup
----------You can find info on creating credentials at
[the github page for googleauth](https://github.com/maxogden/googleauth), the
module handling the auth-stuff.Usage
-----export GOOGLEAUTH_CLIENT=.apps.googleusercontent.com
export GOOGLEAUTH_SECRET=google-drive-downloader
If the program is run without a command or with an invalid command, it will show
a help-message. This can also be shown by adding `--help`, which will also show
the available options for individual commands (eg.
`google-drive-downloader list-files --help`)Available commands
------------------### ls
... ls [options...]
The `path` parameter is the path for which to list files. To list the files in
the root folder, run `google-drive-downloader ls /`.The path-matching is case-sensitive.
#### Available options
- `--modified-after` / `-m`: json date, it will only return files modified
after this date.### get-all
... get-all [options...]
The `path` parameter is the path for which to download files. To download the
files in the root folder, run `google-drive-downloader ls /`.#### Available options
- `--modified-after` / `-m`: json date, it will only return files modified
after this date.
- `--output-dir` / `-o`: The folder to download to. The default is the current
folder.