linux copy files keep directory structure code example Example: cp with folder structure cp --parents src/prog.js images/icon.jpg /tmp/package