Manual:MigrateFileRepoLayout.php

Details
migrateFileRepoLayout.php maintenance script copies all files in FileRepo to an originals container using SHA1 paths.

Options
migrateFileRepoLayout.php accepts three options.

This script runs in batch of 50.

Common error
The value for parameter --oldlayout should only be either name or sha1.
 * Invalid old layout.

The value for parameter --newlayout should only be either name or sha1.
 * Invalid new layout.