Tempfil.es command line tool
This tool is intended to provide command line access to the ephemeral/anonymous file sharing service Tempfil.es.
python setup.py install
python setup.py install --record files.txt
cat files.txt | xargs rm -rf
pip install tempfiles_cmdline
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!