Skip to content
Discussion options

You must be logged in to vote

Hi! 🙂 Thank you for your question and nice feedback! 🌞

The problem is that date-iterate.sh is outputting the text copy 2024-02-10 example V.2.md to 2024-02-16 example V.6.md to stdout:

echo "copy $fileName to $newFileName"

To fix this, you could change the echo line to only include the new file name:

echo "$newFileName"

Then, if you still would like to see a notification balloon in Obsidian showing the text that was originally echoed, you can output that text to stderr:

echo "$newFileName"
echo "copy $fileName to $newFileName" 1>&2

So, this is what happens now:

  • The Open files output handler reads the text outputted to stdout (standard output) by the echo line that does not contain 1>&2. O…

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@Taitava
Comment options

@ReaderGuy42
Comment options

@ReaderGuy42
Comment options

@Taitava
Comment options

@ReaderGuy42
Comment options

Answer selected by ReaderGuy42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants