Making changes before moving directory (locally)