# Setup instruction for "papers"

Install pdftotext and pdf info 

	sudo apt install poppler-utils
	
And Erlang, since papers_archive is an escript

	sudo apt install erlang
	
Clone or fork/clone https://github.com:tonyrog/papers

	mkdir Documents/papers
	git clone https://github.com:tonyrog/papers
	
Clear tony's local README.md. I Keep the README.md on github
to simplify document searching directy in web browser.

	echo "" > README.md
	
# Environment variabels

	PAPERS_DIR default is $HOME/Documents/papers
	PAPERS_COPY default is $HOME/Documents/papers/local

# Link to erlang script

	cd $HOME/bin
	ln -s $HOME/Documents/papers/scripts/paper_archive
	
# Usage

paper\_archive takes one or several files or urls as arguments

	paper_archive cool_stuff.pdf
	
This command will scan cool_stuff.pdf and append Title
Authos and Abstract ( if found ) into the Documents/papers/README.
It will also place a copy into the Documents/papers/local/ directory.

If the filename is a url then the file will be downloaded, index
and then copied into the local directory. paper\_archive will check
the current index file for duplicated using MD5 checksum.

Usage for paper\_archive is 

	paper_archive (pdf-url or filename.pdf)+


	
