Hey,
I try to create a workflow that create a new file in my Notes app. It works. But I want that file name is automatically generated from date, time and my query. I add a bash script what takes all these things and use the output as file name:
But the problem is, that the query output is shown in a new line.
My code:
date +"%Y%m%d%H%M"
echo -n $date-{query}
My output:
202007282050
-fdjspj
What I want as output:
202007282050-fdjspj
Is there somebody who can help me to fix this code?