wraped the variables in quotes in cases there are any spaces in thepath name.
This commit is contained in:
+1
-1
@@ -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"/{} \;;
|
||||
|
||||
Reference in New Issue
Block a user