A data exchange script based on ssh
Project description
trans client
Introduction
A tool based on scp for quickly transmitting data on a server. If you
do not want to enter the account password during the transmission process,
please configure the ssh key in advance. This is a client-side script. If
you have set up your own LAN server as a backup server or data transfer
station, you can install the trans-server script on the server side.
Install
pip install trans-client
Usage
help
tcl help
config
tcl config
user: remote user ip: remote host ip path: the base path that you want to use
login
tcl login
ssh user@ip
Trans
some examples:
-
if you config like this
user: jack ip: 192.168.3.2 path: /home/jack
-
get file/dir from remote server
tcl --get /home/local/dir remote_dirortcl -g /home/local/dir remote_dirscp -r jack@192.168.3.2:/home/jcak/remote_dir /home/local/dir
-
upload file/dir to remote server
tcl --put /home/local/dir remote_dirortcl -p /home/local/dir remote_dirscp -r /home/local/dir jack@192.168.3.2:/home/jcak/remote_dir
clean
clean the ~/.trans.cfg
tcl clean
Contact me
License
trans-client is provided under the MIT LICENSE
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
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 trans-client-1.0.4.tar.gz.
File metadata
- Download URL: trans-client-1.0.4.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
78624e890871723932ae8c93355b12e9c5b16e1a3d587ac7408e0ad567e282ab
|
|
| MD5 |
d4a3ca631df986d85670ad1a35da2eb1
|
|
| BLAKE2b-256 |
fb8e38d9a0a04932fd832a73f240b15e11650714f1b55796eb98ad32b988ad49
|
File details
Details for the file trans_client-1.0.4-py3-none-any.whl.
File metadata
- Download URL: trans_client-1.0.4-py3-none-any.whl
- Upload date:
- Size: 4.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6e468b4a1021f55f6a3db44de1bd2d4f0cdb854d4a757f0f904e242e98f91316
|
|
| MD5 |
48995d2bf5c11d08768e6f8639197e58
|
|
| BLAKE2b-256 |
33268a21ee8e3e51d682aeed7b789e4ebb99dd1e6111890f7a703a3993459e34
|