Not a developer? Go to MovableType.com

Documentation

RsyncOptions

This is documentation about a configuration directive, which can be placed within Movable Type’s core configuration file, mt-config.cgi, to customize the behavior of the system.

This configuration directive allows you to specify options to rsync when files are transferred these options are documented in great detail on the rsync man page.

In Movable Type, this option is commonly used to specify for example authentication credentials to the target machine.

Back

2 Comments

Jay Allen

Jay Allen on July 10, 2009, 2:45 p.m. Reply

This could VERY much use a few examples. What are common options? (I use -auzv pretty much exclusively but one could also make a great case for —delete) Also, what’s the format of this config directive? Is it:

RsyncOptions auvz or RsyncOptions -auvz or RsyncOptions -auvz —delete …but only if you have a long word option?

Jay Allen

Jay Allen on July 10, 2009, 10:47 p.m. Reply

Okay, the answer seems to be what you would expect:

-auvz
-avR
-avz --delete

Etc. HOWEVER, it’s EXTREMELY important to know that MT uses the —files-from attribute internally. This option inverts a number of rsync default settings and also changes the way that rsync parses all of the options (in terms of position). Read the man page and be aware…