Thanks DaveNB! Just found out about this.
I have added something to the code to transfer the generated lrf directly to the device (in my case a prs500, not tested with others):
Code:
cd $HOME/Desktop # This is where the LRF file will be saved
while ( $# )
pdf2lrf --enable-autorotation --left-margin=2 --right-margin=2 --top-margin=2 --bottom-margin=2 --page-break-before-tag='\$' --blank-after-para "$1"
set n=`basename "$1" .pdf`
prs500 cp "$n.lrf" prs500:/Data/media/books/
shift
end
So now, if the device is connected, the file is auto-transfered to it. Makes it even better for me