Migrate directory.