Tagged Questions
9
votes
2answers
220 views
How can I copy a file and create the target directories at the same time?
I want to cp aaa/deep/sea/blob.psd to bbb/deep/sea/blob.psd
How do I do the copy if the deep and sea directories don't exist under bbb so that the copy both creates the directories that are needed ...