Skip to content

periket2000/tempfiles_cmdline

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tempfil.es command line tool Build Status

This tool is intended to provide command line access to the ephemeral/anonymous file sharing service Tempfil.es.

Installing the package locally

python setup.py install

Uninstall the package locally

python setup.py install --record files.txt
cat files.txt | xargs rm -rf

Installing the package with Pypi

pip install tempfiles_cmdline

Executable inteface

After install the command line tool, you'll get a "tempfiles" comman line tool ready to run.

usage

$ tempfiles
No mode selected!
Usage: tempfiles [options]

	where options are:
		 -u file_path => upload mode
		 -d download_link [destination_path] => download mode

uploading a file

$ tempfiles -u ~/myfile.zip
Uploading "~/myfile.zip" to https://tempfil.es
[{'download_link': 'https://tempfil.es/filedownload/link.cZIByw'}]

download a file

$ tempfiles -d https://tempfil.es/filedownload/link.cZIByw
Download of "myfile.zip" complete!

Releases

No releases published

Packages

No packages published

Languages