Last active
May 29, 2024 16:17
-
-
Save lynchjames/deec01d283c5c2a0caad78a4f6f6663a to your computer and use it in GitHub Desktop.
Preparing Obsidian vault for pushing to Azure DevOps Wiki
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo 'Copying attachment files into .attachments folder' | |
cp attachments/* .attachments/ | |
echo 'Updating attachment links' | |
find . -type f -name "*.md" -print0 | xargs -0 sed -i 's/(attachments\//(\/\.attachments\//g' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment