factor/cp_dir

5 lines
45 B
Bash
Executable File

#!/bin/sh
mkdir -p `dirname $2`
cp -v $1 $2