About: Edit remote files locally via SCP/RCP/FTP   Sponge Permalink

An Entity of Type : owl:Thing, within Data Space : 134.155.108.49:8890 associated with source dataset(s)

Instead of editing the file remotely, it can be transfered from the host server, to a local copy, edited and then sent back when done. I know that you can do this manually, but it's a hassle, besides, if it can be done automatically, why not go for that? You need the following installed and properly configured: * Vim * netrw.vim (distributed with Vim) * scp, rcp, ftp or ftp+ To use, all you need is to specify the protocol, user, host and path to the file you want to edit: If you already have an open session, then just issue the following commands:

AttributesValues
rdfs:label
  • Edit remote files locally via SCP/RCP/FTP
rdfs:comment
  • Instead of editing the file remotely, it can be transfered from the host server, to a local copy, edited and then sent back when done. I know that you can do this manually, but it's a hassle, besides, if it can be done automatically, why not go for that? You need the following installed and properly configured: * Vim * netrw.vim (distributed with Vim) * scp, rcp, ftp or ftp+ To use, all you need is to specify the protocol, user, host and path to the file you want to edit: If you already have an open session, then just issue the following commands:
Version
  • 6(xsd:integer)
dbkwik:vim/property/wikiPageUsesTemplate
Previous
  • 539(xsd:integer)
Author
  • Roberto
Complexity
  • intermediate
Created
  • 2003(xsd:integer)
ID
  • 542(xsd:integer)
NEXT
  • 543(xsd:integer)
Rating
  • 117(xsd:integer)
abstract
  • Instead of editing the file remotely, it can be transfered from the host server, to a local copy, edited and then sent back when done. I know that you can do this manually, but it's a hassle, besides, if it can be done automatically, why not go for that? You need the following installed and properly configured: * Vim * netrw.vim (distributed with Vim) * scp, rcp, ftp or ftp+ To use, all you need is to specify the protocol, user, host and path to the file you want to edit: * vim scp://konimi@vim.org//var/www/html/rtc_functions.php * gvim scp://konimi@vim.org//var/www/html/tips/add_tip.php Every time you write the file (:w etc) the file will get copied over to the source and you will be brought back to your session for further editing. If you already have an open session, then just issue the following commands: To read/load up a file: :Nread scp://konimi@vim.org//var/www/html/rtc_functions.php To write the file back: :Nwrite scp://konimi@vim.org//var/www/html/rtc_functions.php That's it! You'll be editing at local speed.
Alternative Linked Data Views: ODE     Raw Data in: CXML | CSV | RDF ( N-Triples N3/Turtle JSON XML ) | OData ( Atom JSON ) | Microdata ( JSON HTML) | JSON-LD    About   
This material is Open Knowledge   W3C Semantic Web Technology [RDF Data] Valid XHTML + RDFa
OpenLink Virtuoso version 07.20.3217, on Linux (x86_64-pc-linux-gnu), Standard Edition
Data on this page belongs to its respective rights holders.
Virtuoso Faceted Browser Copyright © 2009-2012 OpenLink Software