Skip to content

A Command-Line Utility to upload / download files like a PenDrive on Cloud for Developers

Notifications You must be signed in to change notification settings

hellosaumil/PenDrive

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

97 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PenDrive

One-Click Command-Line Utility for file-sharing just for Developers!
Download just ONE file!

	bash setup                	# Setup PenDrive with just ONE Hit!

Man Page like Description

Name

pendrive - A Command-Line Utility to upload/download files like PenDrive on Cloud

Synopsis

pendrive [OPTION]... [FILE]... [TEXT]... [TOKEN]... [SERVER]...

Description

A Simple Command-Line Utility for file sharing without the hassle of finding a pendrive nearby. You can transfer files with your Developer Friends with just ONE LINE !!! Upload / Download Files at your leisure with PenDrive Cloud. Share all kinds of files, be it programs, text files, images & videos. You can also Copy & Paste Text without the hassle to mail!
Just need an Internet Connection and you're Good to Go!
Days of carrying flashdrives are gone!
Happy File Sharing!

Options

Describes all Options of PenDrive on Cloud
	--upgrade	  Upgrade PenDrive from Cloud

	-l		  Option for Listing available files on PenDrive Cloud


	-u		  Upload a File to PenDrive Cloud by providing a filename after -u option

	-d		  Download a File from PenDrive Cloud by providing a filename after -d option


	-c		  Copy Text to PenDrive Cloud by providing text after -c option; User will be asked to provide a Token

	-p		  Paste Text from PenDrive Cloud by providing Paste Token after -p option


	-r		  Remove a file on PenDrive Cloud

	-rp		  Remove Shared Text from PenDrive Cloud by providing Paste Token after -rp option


	-h		  Provides help on how to use the pendrive command-line utility

	--server	  User can provide servername explicitly as --server=["example.server-address.com"]		

Usage

```shell pendrive # Displays Man Page of pendrive
pendrive   --upgrade          			# Upgrade PenDrive from Cloud

pendrive   -l           			# Lists all files on PenDrive Cloud

pendrive   -u   file.ext			# Upload a file to PenDrive Cloud
pendrive   -d   file.ext			# Download a file from PenDrive Cloud

pendrive   -c   copyText			# Copy Text to PenDrive Cloud; User will be asked to provide a Token
pendrive   -p   pasteToken			# Paste Text to PenDrive Cloud

pendrive   -r   file.ext			# Remove a file on PenDrive Cloud
pendrive   -rp  pasteToken			# Remove Shared Text from PenDrive Cloud using a user-specified Token

pendrive   -h           			# Provides Help for using PenDrive Cloud
alternatively,
```shell
	pendrive   -l                --server="server.io"		# Lists all files on user-specified PenDrive Cloud Server

	pendrive   -u   file.ext     --server="server.io"		# Upload a file to user-specified PenDrive Cloud Server
	pendrive   -d   file.ext     --server="server.io"		# Download a file from user-specified PenDrive Cloud Server

	pendrive   -c   copyText     --server="server.io"		# Upload a file to user-specified PenDrive Cloud Server
	pendrive   -p   pasteToken   --server="server.io"		# Download a file from user-specified PenDrive Cloud Server

	pendrive   -r   file.ext     --server="server.io"		# Remove a file on PenDrive Cloud
	pendrive   -rp  pasteToken   --server="server.io"		# Shared Text from PenDrive Cloud using a user-specified Token

Examples

``` shell pendrive pendrive -h pendrive -l or pendrive -l --server="server.io" pendrive -u file.ext or pendrive -u file.ext --server="server.io" pendrive -d file.ext or pendrive -d file.ext --server="server.io" pendrive -c copyText or pendrive -u file.ext --server="server.io" pendrive -p pasteToken or pendrive -d file.ext --server="server.io" ```

Version

Beta 0.1 - Only Supports Unix Systems (i.e, macOS, OS X, Linux - Ubuntu)

Author

Written by Saumil Shah. https://hellosaumil.github.io
More details about this project can be found at : https://github.com/hellosaumil/PenDrive
[Download source code here!](src/pendrive)

Reporintg Bugs

Report bugs to https://github.com/hellosaumil/PenDrive/issues