« IPアドレスを検索 | メイン | MACでローマ数字 »

2008年10月21日

MT自動再構築

 # To rebuild all weblogs in the system.
 mt-rebuild -all

# To rebuild an entire weblog:
mt-rebuild -mode="all" -blog_id=0

# To rebuild all archives, but not index templates:
mt-rebuild -mode="all" -blog_id=0 -no_indexes

# To rebuild a weblog archive type:
mt-rebuild -mode="archive" -blog_id=0 -archive_type="(Individual|Daily|Weekly|Monthly|Category)"

# To rebuild a specific weblog entry:
mt-rebuild -mode="entry" -blog_id="0" -entry_id=0

# To rebuild a specific weblog index template:
mt-rebuild -mode="index" -blog_id="0" -template="your template name"