Auto file tranfer with scp command.
Project description
Handsoff
Automatic file transfer with scp UNIX command.
Installation
It's on pip server.
pip install handsoff
Usage Examples
In terminal
Set
handsoff set user=MovingJu port=22 host=localhost client="README.md" server="Target_dir"
or you can simply define these attributes in .env file and recall env file.
HOST = "localhost"
PORT = "22"
USER = "MovingJu"
handsoff set env="handsoff.env"
Push or Pull
handsoff (push/pull) ^`client` ^`server`
^ is optional.
In python code
import handsoff
my_computer_1 = handsoff.Commands({
"env" : "handsoff.env"
})
my_computer_1.push()
my_computer_1.pull("src/*", "~/Documents")
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
handsoff-1.1.4.tar.gz
(4.3 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file handsoff-1.1.4.tar.gz.
File metadata
- Download URL: handsoff-1.1.4.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
af9bb6820f3b1dc3dbdc803a4fbf0579a0659ac3036bef7f15ceaf201764b364
|
|
| MD5 |
82124b9841f8967c8ed9a44444704632
|
|
| BLAKE2b-256 |
b40b1879364bb2a845730602c8165bdc75de8496b3ee278cdf9589e4e595978b
|
File details
Details for the file handsoff-1.1.4-py3-none-any.whl.
File metadata
- Download URL: handsoff-1.1.4-py3-none-any.whl
- Upload date:
- Size: 5.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
465f282abdd1574fbffcda3d174834087807bd1ee825bb3f671eb55e6447745b
|
|
| MD5 |
5bc341a35ad9b8095122c35a8419740c
|
|
| BLAKE2b-256 |
6663331c3c067ac284d406403c7113ec657e572b18fc22ef1943adf63f60f57a
|