bash copy folder content preserving files code example Example: cp with folder structure cp --parents src/prog.js images/icon.jpg /tmp/package