Tired of ads? Upgrade to paid account and never see ads again!
Shlomif's Technical Posts Community - Tech Tip: How to Copy a Remote File on rsync.net [entries|archive|friends|userinfo]
Shlomif's Technical Posts Community

[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

Links
[Links:| Shlomi Fish's Homepage Main Journal Homesite Blog Planet Linux-IL Amir Aharoni in Unicode open dot dot dot ]

Tech Tip: How to Copy a Remote File on rsync.net [Oct. 26th, 2013|03:14 pm]
Shlomif's Technical Posts Community

shlomif_tech

[shlomif]
[Tags|, , ]
[Current Location |Home]
[Current Mood |Calm]
[Current Music |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 my_account@somewhere.rsync.net 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.

LinkReply