remove spaces from new filenames

This commit is contained in:
2023-07-08 20:02:11 +02:00
parent 9a6165250c
commit 74e826af1e

2
new.sh
View File

@@ -10,7 +10,7 @@ echo Select a name
read name
filePath="$category/$name.md"
filePath="$category/$(echo $name | sed 's/ /_/g').md"
tagsList="$(echo \"$category | sed 's#\/#", "#g')\""