Created
September 11, 2015 11:47
-
-
Save eerohele/60f891131506c2eabcda to your computer and use it in GitHub Desktop.
Publish DITA content with DITA-OT and GNU Parallel
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
# Publish every .ditamap file in a directory in parallel. | |
# Use a DITAVAL file with the same basename as the .ditamap file for filtering. | |
find "$input_dir" -name "*.ditamap" | \ | |
parallel -I{} bash dita -i "{}" -filter "$input_dir/{/.}.ditaval" -f pdf -o "$output_dir" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment