Create a PDF from many text files in one folder
Hello!
After many attempts with Day One, BearApp, DiaryApps, NoteApps, Things, and many other apps... I've been back at iA Writer for a few weeks (after years) and especially at Markdown. I use Mac, iPad and iPhones.
My problem: I have a folder "Diary" and below in folder "2017", "2018" the respective day entries, an MD text file for one day. How can I export all entries/text files from the 2018 folder to a single PDF using MarkedApp? With the multiple file commands (like iAWriter Block Content) yes possible, but I have to quote the file name of each text file.
Is there something like "/2018/*.md"? or a possibility to evaluate a text "tag:diary" in text files and create the PDF with it?
I am grateful for every tip, maybe a combination of AppleScript and MarkedApp is possible?
Best regards Robert from Austria!
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Brett on 02 Jun, 2018 11:21 AM
Well, I do have a Service that will create an index file for Marked
automatically,
http://brettterpstra.com/2014/01/16/a-service-for-creating-marked-indexes/
Using the command line version of that, you can use `ls -t1` to pass the
filenames in date order, or use regular `ls -1` if they're named in ISO
date format (2017-05-12.md) and would be in the right order
automatically.
-Brett
2 Posted by Robert on 03 Jun, 2018 09:23 AM
Hello, Brett,
excellent support, I couldn't test it so fast, thank you very much.
Yes, exactly what I was looking for, solves perfectly for my problem and has potential for expansion - possibly commands for table of contents and various information in the command line version. And I learned something about Ruby - I had already planned to do.
A note: In the email confirming the online purchase is a download link pointing to an old version 2.5.10.
Kind regards Robert
Support Staff 3 Posted by Brett on 03 Jun, 2018 12:20 PM
The confirmation email for the purchase?
-Brett
4 Posted by Robert on 03 Jun, 2018 12:48 PM
... yes the purchase confirmation e-mail; contains attached link:
https://click.pstmrk.it/2sm/paddle.s3.amazonaws.com%2Ffulfillment_d...?????????????????????
Version: 2.5.10 from 10.7.2017.
Support Staff 5 Posted by Brett on 03 Jun, 2018 01:31 PM
Cool, thanks for the note.
-Brett
Robert closed this discussion on 03 Jun, 2018 04:29 PM.