copy content of a directory to location bash code example Example: bash copy directory and all contents cp -r /path/to/directory /path/to/location/new-name