|Tech Tip: How to Copy a Remote File on rsync.net
||[Oct. 26th, 2013|03:14 pm]
Shlomif's Technical Posts Community
|[||Tags|||||tech, tech tip, tip||]|
|||||Rita - Shir Ahovath Hasapan||]|
rsync.net is a good service (and a not too
pricey one) for remote storage of data (for backups/etc.) based on open
protocols and open source applications. One thing that bugged me there however,
was that I couldn't find a way to copy a remote file to a different
name, because the SFTP client does not support a copy operation, and because
I could not get to a login shell by sshing my rsync.net account. Apparently,
it's doable and not very hard.
What you need to do is type
ssh firstname.lastname@example.org cp [source filename] [destination filename] and
it will run the remote UNIX "cp" command to copy the file. You can access
some other remote UNIX commands like that such as "ls".
Hope it helps.