rename directory and aliases.