19
rated 0 times
[
19]
[
0]
/ answers: 1 / hits: 51607
/ 1 Year ago, sat, may 6, 2023, 10:20:14
I want to cp
a file to another directory but that directory doesn't exist yet.
So I would do:
mkdir /new_place
cp the_file /new_place
Can I do this in one?
I imagine something like cp the_file -m /new_place
if "m" stood for "make dir's that don't exist"
Would this be a chance to use scp, rsync or another copying utility?
More From » command-line