Updated the directory batch move method