rsync for maintaining multiple movable type weblogs
Managing multiple MT blogs? Tired of FTP'ing files into each installation?
Use rsync to keep them up to date...
Requires:
Shell Access to your webhost
The latest MT upgrade files in tar.gz format
Extract the MT upgrade files, putting in your home directory is OK.
cd ~
tar -zxvf MT-2.661-upgrade.tar.gz
rsync -p -t -r -v --stats ~/MT-2.661-upgrade/ path_to_your_mt_folder
I'm assuming you can live with FTP'ing the tar-ball up. Sixapart doesn't give a direct link to download, but if you know the path, you could use wget to pull the update on to the server.
Note the -(v)erbose and --stats switches are optional, it lets you see that something happened. -(r)ecursive means sub-directories get processed as well.
Done. Repeat for each blog.
See also Basics: rsync HOWTO
building file list ... done ./ LICENSE LICENSE-COMMERCIAL docs/ docs/mt26.html docs/mtchanges.html docs/mtimport.html docs/mtinstall.html docs/mtmanual.html docs/mtmanual_about.html docs/mtmanual_alternate.html docs/mtmanual_archiving.html docs/mtmanual_authors.html docs/mtmanual_categories.html docs/mtmanual_comments.html docs/mtmanual_configuration.html docs/mtmanual_copyright.html docs/mtmanual_entries.html docs/mtmanual_importing.html docs/mtmanual_installation.html docs/mtmanual_mail.html docs/mtmanual_multilanguage.html docs/mtmanual_notifications.html docs/mtmanual_programmatic.html docs/mtmanual_public.html docs/mtmanual_rebuilding.html docs/mtmanual_sanitize.html docs/mtmanual_search.html docs/mtmanual_tags.html docs/mtmanual_templates.html docs/mtmanual_trackback.html docs/mtmanual_troubleshooting.html docs/mtmanual_uploading.html docs/mtmanual_weblog_config.html docs/mtmanual_weblogs.html docs/mttags.html docs/mtupgrade.html extlib/ extlib/I18N/ extlib/I18N/LangTags/ extlib/Locale/ extlib/Locale/Maketext/ extlib/MT/ extlib/MT/L10N/ images/ images/lang-en-us/ lib/ lib/MT/ lib/MT.pm lib/MT/App/ lib/MT/App.pm lib/MT/App/Comments.pm lib/MT/Comment.pm lib/MT/ConfigMgr.pm lib/MT/Entry.pm lib/MT/FileMgr/ lib/MT/L10N/ lib/MT/ObjectDriver/ lib/MT/ObjectDriver/DBI/ lib/MT/Template/ lib/MT/Template/Context.pm lib/MT/XMLRPCServer.pm lib/MT/default-templates.pl mt-send-entry.cgi schemas/ search_templates/ tmpl/ tmpl/cms/Number of files: 217
Number of files transferred: 45
Total file size: 1792130 bytes
Total transferred file size: 795283 bytes
Literal data: 795283 bytes
Matched data: 0 bytes
File list size: 4994
Total bytes written: 802129
Total bytes read: 740wrote 802129 bytes read 740 bytes 1605738.00 bytes/sec
total size is 1792130 speedup is 2.23
0 TrackBacks
Listed below are links to blogs that reference this entry: rsync for maintaining multiple movable type weblogs.
TrackBack URL for this entry: http://kennethhunt.com/mt/mt-tb.cgi/1004
Jasmeet warns you can overwrite your mt.cfg and mt-db-pass.cgi files... So take care if you try this.
http://jasmeet.net/weblog/previously/2004/09/09/mt30d_mt311.html
I haven't done this in awhile, but will make a note to check this out when I do it again...