Skip to content

Share your files or text data right away from your terminal and get a shareable link with expiration date. The link is downloadable only once , then it will be deleted

License

Notifications You must be signed in to change notification settings

ibraAbuKaff/share

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

share

Share your files or text data right away from your terminal and get a shareable link with expiration date. The link is downloadable only once , then it will be deleted

This service is using http:https://file.io

Usage

sh share.sh [-f 'PATH_TO_FILE'] [-d 'TEXT_DATA'] '3d|14w|1m|2y'

Example- Upload and share file:

sh share.sh -f "./dir1/xyz.json" "10d" # Expiration date after 10 days
sh share.sh -f "./dir1/xyz.json" "10m" # Expiration date after 10 months
sh share.sh -f "./dir1/xyz.json" "10w" # Expiration date after 10 weeks
sh share.sh -f "./dir1/xyz.json" "10y" # Expiration date after 1 year

Example- Share text data:

sh share.sh -d "Hello, some shareable text data is here" "10d" # Expiration date after 10 days
sh share.sh -d "Hello, some shareable text data is here" "10m" # Expiration date after 10 months
sh share.sh -d "Hello, some shareable text data is here" "10w" # Expiration date after 10 weeks
sh share.sh -d "Hello, some shareable text data is here" "10y" # Expiration date after 1 year

About

Share your files or text data right away from your terminal and get a shareable link with expiration date. The link is downloadable only once , then it will be deleted

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages