Added a ppath binary to the 0.4.5 package and amended the
documentation to reflect this:
http://packages.python.org/Pairtree/
("sudo easy_install -U pairtree" to update)
Relevant docs on ppath follow:
The ppath script
A ppath script is included for convenience to be used in shell scripts
or similar. Eg:
ppath topath examples:
$ vim mystore/pairtree_root/`ppath topath document:105/data/
doc.txt`
(Opens the file at mystore/pairtree_root/do/cu/me/nt/+1/05/data/
doc.txt)
$ cp `ppath topath foo:bar/1.txt` `ppath topath bar:foo/2.txt`
ppath toid examples:
data/subjects/pairtree_root/HA/SS/ET/ROOT$ ppath toid `pwd`
HASSET/ROOT
(NB I know it's long, but hopefully long enough to understand what the
intent of the commands is for. There is always alias, should you want
i2p/p2i instead :) )
Ben