Cp File And Create Directory If Not Exists

[Solved] Cp File And Create Directory If Not Exists | Vb - Code Explorer | yomemimo.com
Question : cp file and create directory if not exists

Answered by : tender-trout-clewkn1d1rvz

mkdir -p /foo/bar && cp myfile.txt $_

Source : https://stackoverflow.com/questions/1529946/linux-copy-and-create-destination-dir-if-it-does-not-exist | Last Update : Fri, 27 Nov 20

Question : cp file and create directory if not exists

Answered by : tender-trout-clewkn1d1rvz

mkdir -p "$d" && cp file "$d"

Source : https://stackoverflow.com/questions/1529946/linux-copy-and-create-destination-dir-if-it-does-not-exist | Last Update : Fri, 27 Nov 20

Answers related to cp file and create directory if not exists

Code Explorer Popular Question For Vb