wraped the variables in quotes in cases there are any spaces in thepath name.

master
Jorge Vásquez Pérez 7 years ago
parent 080007d49f
commit ced0980d23

@ -1 +1 @@
find $1/ -type d -exec mkdir -p $2/{} \; -o -type f -exec touch $2/{} \;; find "$1"/ -type d -exec mkdir -p "$2"/{} \; -o -type f -exec touch "$2"/{} \;;

Loading…
Cancel
Save