Created
October 14, 2023 13:57
-
-
Save pavelskipenes/68702cc64faf20ac983e0d5661b3c616 to your computer and use it in GitHub Desktop.
Convert all .rtf to .pdf in a directory
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
#!/usr/bin/env bash | |
find "*.rtf" -type f -exec flatpak run org.libreoffice.LibreOffice --headless --invisible --norestore --convert-to pdf {} + |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment