SjoerdV / ConvertOneNote2MarkDown

Ready to make the step to Markdown and saying farewell to your OneNote, EverNote or whatever proprietary note taking tool you are using? Nothing beats clear text, right? Read on!
GNU General Public License v3.0
196 stars 113 forks source link

When file names contains angle brackets ("[" or "]") the script will… #14

Closed ivanarandjelovic closed 3 years ago

ivanarandjelovic commented 3 years ago

… fail due to known issue in PpowerShell Get-Content and Set-Content commandlets.

Using -literalPath resolves these issues.

SjoerdV commented 3 years ago

Excellent, thanks for your fix! Reference: https://www.reddit.com/r/PowerShell/comments/2wmzv8/why_you_should_consider_always_using_literalpath/

ivanarandjelovic commented 3 years ago

Thank you for your script!

On Thu, Oct 8, 2020 at 12:16 PM SjoerdV notifications@github.com wrote:

Excellent, thanks for your fix! Reference: https://www.reddit.com/r/PowerShell/comments/2wmzv8/why_you_should_consider_always_using_literalpath/

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/SjoerdV/ConvertOneNote2MarkDown/pull/14#issuecomment-705474603, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJVAKA47GDH5AEI2FU2BHLSJWGRHANCNFSM4SIMUAUA .