Techdragon.info

Techdragon.info

home
home
tools
tools

Copy a file with entire folder structure

Ever needed to copy one file in /bla/blup/file1.txt? well this is how you can copy the file, with the folder structure in place leading up to it.

cp --parents /path/tp/your/file.txt /path/to/where/to/put/it