description | Simple substitute for “rsync”/“scp” when the remote side has only “cat” and “ls”. |
homepage URL | https://gitorious.org/rpush-cat |
owner | imz@altlinux.org |
last change | Mon, 17 Dec 2012 17:01:32 +0000 (17 21:01 +0400) |
URL | git://repo.or.cz/rpush-cat.git |
https://repo.or.cz/rpush-cat.git | |
push URL | ssh://repo.or.cz/rpush-cat.git |
https://repo.or.cz/rpush-cat.git (learn more) | |
bundle info | rpush-cat.git downloadable bundles |
content tags |
These scripts help me push files over SSH to another system which has only a simple sh, “cat”, and “ls”. They can continue transferring a partially transferred file (by appending to what was left after an interrupted transfer).
In my case, the other system is a non-rooted Android 2.2 with DroidSSHd installed (with no “scp”, “sftp”, or “rsync”).
The same scripts are useful as a substitute for a local "cp" command if you wish to show the progress of copying or complete a partial (interrupted) copy. (But of course, "cp" ismuch more clever about the features of the FS than "cat" and my "rpush"!)
They are not limited to using necessarily “ssh” (it’s a parameter). For example, for testing them on the same host (or for showing the progress of copying), I use just “eval” instead.
11 years ago | bad/fd-for-output-to-coproc | commitlog |
11 years ago | master | logtree |
11 years ago | mob | logtree |
11 years ago | continue-coproc | logtree |