Categories: CategoryInternet


Upload-tool for web-pages.

Install DebianPackage sitecopy. See man-page.

Getting started

Create SiteCopy directory:

 $ mkdir -m 700 .sitecopy
 $ touch .sitecopyrc
 $ chmod 600 .sitecopyrc

Catchup with an already existing website

$ sitecopy --catchup sitename

Fetch existing website:

$ sitecopy --fetch sitename
$ sitecopy --synch sitename

New remote site

$ sitecopy --init sitename

Site maintenance

$ sitecopy --update sitename

Configuration

Edit ~/.sitecopyrc.

Example:

 site mysite
         server my.server.com
         url http://www.server.com/fred
         username fred
         password juniper
         local /home/fred/html/
         remote ~/public_html/