Wednesday, 29 November 2017

Unix / Mac - Rename folder, Make a copy of folder


  • Below command renames folder from folder-name-old to folder-name-new ( deletes folder-name-old )


$ mv        folder-name-old     folder-name-new


  • Below command copies a folder to another folder ( keeps both folders)


$ cp  folder-name-old     folder-name-new

No comments:

Post a Comment