X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=scripts%2Ftext%2Fsmoove_lists.sh;h=01dbd22572964dc6e558d2e710099b9ca4d2719a;hb=8cae6bcb0a4c8962c18d50f7323558dddf299b2f;hp=aea57995790a68498f3b8f8419dba67f3a39a609;hpb=d7945be1d3e1c49781c6121d978e9c9d4d52f617;p=feisty_meow.git diff --git a/scripts/text/smoove_lists.sh b/scripts/text/smoove_lists.sh index aea57995..01dbd225 100644 --- a/scripts/text/smoove_lists.sh +++ b/scripts/text/smoove_lists.sh @@ -43,7 +43,7 @@ find . -maxdepth 1 -mindepth 1 -type d >"$tempfile" while read found; do # make a corresponding directory if there isn't one yet. if [ ! -d "$target/$found" ]; then - mkdir "$target/$found" + mkdir -p "$target/$found" fi # move all the files out of the source and into the target. mv "$found"/* "$target/$found/"