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

This commit is contained in:
Jorge Vásquez Pérez
2018-12-13 10:38:32 -08:00
parent 080007d49f
commit ced0980d23
+1 -1
View File
@@ -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"/{} \;;