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
#!/bin/bash | |
# Converts one or more *.doc files into *.docx | |
# USAGE: doc2docx <DOC_FILE> | |
# doc2docx <DIRECTORY>/*.doc | |
# Errors are reported, but do not stop further processing. | |
# Exits with `0` if the given files were converted correctly, | |
# or with the number of failing files. | |
# This is your DocumentAlchemy API key. It may be set via the |
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
#!/bin/bash | |
# docx2pdf <WORD-DOC> [<PDF-FILE>] | |
# Uses <https://documentalchemy.com/> to convert an MS Word document to PDF. | |
# SET YOUR DOCUMENT ALCHEMY API KEY HERE (OR PASS AS AN ENV VAR). | |
# SIGN UP AT <https://documentalchemy.com/> TO GET YOUR FREE API KEY. | |
DA_API_KEY=${DA_API_KEY:-"EDs2UQEprGn9aD4vg6HCPhFvgQFDahQgRzzIfocJ"} | |
# PRINT USAGE MESSAGE | |
show_help() { |
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
#!/bin/bash | |
# powerpoint-to-pdf <PPT-FILE> [<PDF-FILE>] | |
# Uses <https://documentalchemy.com/> to convert a PowerPoint document to PDF. | |
# SET YOUR DOCUMENT ALCHEMY API KEY HERE (OR PASS AS AN ENV VAR). | |
# SIGN UP AT <https://documentalchemy.com/> TO GET YOUR FREE API KEY. | |
DA_API_KEY=${DA_API_KEY:-"EDs2UQEprGn9aD4vg6HCPhFvgQFDahQgRzzIfocJ"} | |
# PRINT USAGE MESSAGE | |
show_help() { |
NewerOlder