There are many reference management software out there, free and commercials. Among them, Mendeley is a fantastic reference management software. It integrates seamlessly with my emacs orgmode, as well as libreoffice.
1 Manual sync
Sync pdf is straightforward (e.g. rsync). But that is not enough. “.local/share/data/Mendeley\ Ltd./Mendeley\ Desktopfirstname.lastname@example.org” has to be synced as well.
2 Pubmed import
Pubmed search results can be exported to XML file which can be converted using xlstproc (apt-get install xlstproc in ubuntu) to .bib format, which can be imported to Mendeley.
#!/bin/bash xsl="~/Documents/bash\ scripts/pubmed2bibtex.xsl" input="$1" output="output.bib" eval xsltproc $xsl $input > $output