A replacement of scp, but auto skip git-ignored files
It's just a wrapper of sshfs and xcp
cargo install --git https://github.com/lengyijun/smartscp --branch sshfs
smartscp remote-host:path local_path
smartscp local_path remote-host
smartscp local_path remote-host:remote-path
- respect git ignore
git-ignored files will not be scped
- auto fill-in the remote path
# auto complete the destination: `remote_host:~/.local/share`
smartscp ~/.local/share remote_host
-
no
-r
needed in transferring folder -
support interactive password input, but not recommanded
- filename contains ":"
Not compatible with scp Not compatible with the same parameters as SCP
A: rsync doesn't support complicated exclude rules
A: It's not a trival work
A: remote readonly files exists