Skip to content

Nichokas/g-up

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

85 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CHECK THE DOCUMENTATION FOR CREATING THE CLIENT_ID AND THE CLIENT_SECRET

g-up

g-up is a command-line tool to quickly and easily upload files to Google Drive from the terminal. This tool is designed to be simple and efficient, allowing you to manage your files on Google Drive directly from the console.

Installation

You can clone the repository and then install the necessary dependencies:

git clone https://github.com/Nichokas/g-up.git
cd g-up
cargo run build --release

Usage

To upload a file to Google Drive, simply use the following command:

./target/release/g-up

Examples

Upload a .zip:

$ ./g-up 
Go to https://www.google.com/device and enter the code: ***-***-****
Press Enter after authenticating...

Please enter the name of the .zip file to upload: 
test.zip
Access token received: *****
File uploaded successfully: {
  "kind": "drive#file",
  "id": "*****",
  "name": "test.zip",
  "mimeType": "application/zip"
}

TODO

  • Added support for .zip files.
  • Create documentation
  • Add more filetypes compatibility
  • Save the upload token

Contributions

Contributions are welcome. If you have ideas to improve g-up or find any issues, feel free to open an issue or submit a pull request.

License

This project is licensed under the MIT License. See the LICENSE file for more details.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages