Removing directories Adding and removing Moving directories
Moving files to a different directory or renaming them is not difficult, but some of the ways in which this works may be non-obvious. (Moving or renaming a directory is even harder. See Moving directories.).
The examples below assume that the file old is renamed to new.Removing directories Adding and removing Moving directories