remove spaces from new filenames

This commit is contained in:
Malin Freeborn 2023-07-08 20:02:11 +02:00
parent 9a6165250c
commit 74e826af1e
Signed by: andonome
GPG Key ID: 52295D2377F4D70F
1 changed files with 1 additions and 1 deletions

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')\""