HoldMyFile is a python program that can backup your file on the web with a single command. The same file can be restored back to its original path with just another command.
- Python 2
- Python modules: click
Install from source
git clone https://github.com/a7i7/HoldMyFile.git
cd HoldMyFile
python setup.py install
Make sure pip is installed beforehand.
Usage: holdmyfile [OPTIONS] MODE FILE_DETAILS
This program is used to temporarily just backup your files on the
web. The absolute file address is also stored. So you can just
restore the files backs with a single command. This program is
specially useful when you are experimenting with changes to a
file that may later turn out to be hazardous for your system.
To back up a file: holdmyfile give /home/dave/file.txt File
Backed up successfully. Id is qvje
To restore it again: holdmyfile take qvje File Restored
successfully. File address is /home/dave/file.txt
Options:
--path TEXT Override default path to save file
--help Show this message and exit.
Run the command to backup file
holdmyfile give /home/dave/file.txt
File Backed up successfully. Note down the id: ifgi
After some period of time when you want to restore the file back, run the following command
holdmyfile take ifgi
File Restored successfully. File address is /home/dave/file.txt
- Has only been tested on linux so far. Not sure if it runs on Windows and Mac as well.
- There is a limit to the filesize that can be uploaded. It is limited by speed of python and termbin.com backend software. Any rough limit of the filesize is 330 kb.