This is a set of files to watch a directory where I place PDFs of papers and automatically create a corresponding tiddler for that paper.
- Edit
TW_LOC,TID_DEF_TAGS, andTID_TEXTin the bash script - Edit location of bash script in
.scptfile - place the
.scptfile in~/Library/Scripts/Folder Action Scripts/ - make sure you have a default program to open the .tid extension (if you want to keep the
openline) - this uses
gdatefromcoreutilsto get the timestamp right - right click on the folder you want to watch and add a new folder action, selecting the
.scptfile - make sure the shell script is executable