Giter Club home page Giter Club logo

bibdesk2zotero's Introduction

bibdesk2zotero

This is a little utility for rewriting a BibDesk BibTeX file so that it can be read by Zotero with the file references intact. BibDesk and Zotero mostly get along except for the way BibFile stores links to documents like PDFs. This utility Base64 decodes all Bdesk-File paths, parses the serialized plist, extracts the relative path to the file and adds it back to the bibliographic entry as an absolute path.

Install

pip install bibdesk2zotero 

Use

$ bibdesk2zotero citations.bib /path/to/pdf/files/ > new-citations.bib

bibdesk2zotero's People

Contributors

dominikpeters avatar edsu avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

bibdesk2zotero's Issues

Lacking support for reading from stdin and unneeded repetition of bib path

Hi!
I was using this tool and I found it very useful! I've found that it did not support reading from stdin (I tried also with /dev/stdin as the input file) and it forces users to specify the path to the BibDesk file two times: the file paths are relative to it, so the path can be guessed by taking the parent directory of the .bib file.

I've forked this repository and implemented those changes: would you be interested in a pull request? My version uses argparse (the standard Python library) to parse options and has the following usage string:
bibdesk2zotero [--help] [--out OUT] [--path PATH] [database]

If you are interested in a PR but prefer to change something, let me know!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.