Cadaver and Sitecopy on Cygwin

On job I’m forced to use windows as operating system, but I can’t give up to the bash power, so I always install cygwin.

Now I need to use both cadaver and sitecopy. I tried the binary version of the first one but it didn’t work on my bash, so I compiled both of them from scratch. Here is how.

Install the make, gcc-g++ and gettext package from the cygwin installer.

Cadaver

Download the latest sources and expand the archive in /usr/local/src (create the directory if not exists). Then execute

./configure && make && make install

Configuration

The only configuration I used for cadaver is the proxy settings for the company in which I’m working.

Edit the ~/.cadaverrc file (create if not exists) and insert the lines

set proxy proxy.company.com
set proxy-port 3128

Sitecopy

Download the latest sources and expand the archive in /usr/local/src, then execute

./configure && make && make install

Configuration

The sitecopy configuration is a bit complex but not too much I used something like the following

site YOURSITE
server YOUR.HOSTNAME.COM
protocol http
#uncomment if needed http noexpect
username YOURUSERNAME
password YOURPASSWORD
remote /davhome
local "/path/to/your/site/directory/"
permissions ignore
symlinks ignore
exclude *.bak
exclude *~
exclude "#*#"
exclude hs~*.html
exclude hs~*.php
exclude *.jbf
exclude *.swp
ascii *.php
ascii *.php3
ascii *.inc
ascii *.html
ascii *.htm
ascii *.pl
ascii *.js
proxy-server proxy.company.com
proxy-port 3128

Advertisements

2 thoughts on “Cadaver and Sitecopy on Cygwin

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s