Howto NOT update your website..

Two days ago I wanted to clean up the files on this website, and since
I’m hooked on the commandline I wanted to experiment with the
commandline options for rsync. After some time reading the man page
for rsync I found out that the option –exclude-from= and
–delete-excluded would clean up the remote server quite nicely.

Except that all the custom files and some directories that was stored in
the same directory. The –delete-excluded took care of those files,
especially the file containing the settings for the website. I still
look for stuff that might be broken, so please make a comment if you
find something.

The moral of the story is, make sure you know what your doing when you
have the power of the commandline at your fingertips…

| April 18th, 2009 | Posted in Sysadmining |

Leave a Reply