Skip to the relevant sections if needed.
This file contains hidden or 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
| #!/bin/bash | |
| # a script to convert docx to markdown and extract images into subfolder | |
| # requirements: pandoc | |
| # | |
| if [ -z "$1" ]; then | |
| echo "Usage:" | |
| echo "" | |
| echo " docx-to-md.sh [filename-no-extension]" |
This file contains hidden or 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
| #!/bin/bash | |
| # | |
| # Author: Ade Goodyer | |
| # Date: 2023-06-21T11:31 | |
| # Description: Bash script to run command and then notify Slack of success or failure. | |
| # Notes: Create alias or add to PATH to use. | |
| # Requires chmod +x to run. | |
| # | |
| # Usage: notify-slack # usage | |
| # notify-slack ls # slack notification without output |