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_TEXT
in the bash script - Edit location of bash script in
.scpt
file - place the
.scpt
file in~/Library/Scripts/Folder Action Scripts/
- make sure you have a default program to open the .tid extension (if you want to keep the
open
line) - this uses
gdate
fromcoreutils
to get the timestamp right - right click on the folder you want to watch and add a new folder action, selecting the
.scpt
file - make sure the shell script is executable