Re: [Barry-devel] Announce: new tool: bio
Status: Beta
Brought to you by:
ndprojects
From: Chris F. <cd...@fo...> - 2010-12-24 05:45:13
|
Thanks :-) I fixed some bugs today, did some cleanup work, and added a new record parser for Content Store. Also added a simple output mode to the bio command, which lets you extract files from the Content Store database. Some devices seem to put photos in there, but I don't know how to copy photos there explicitly on the 9530. The Content Store seems like a nice little generic filesystem. I should probably make a FUSE interface for it someday. :-) Merry Christmas to you too, and to all! - Chris On Fri, Dec 24, 2010 at 12:07:21AM +0100, Nicolas wrote: > Hi, > > It's a great feature. > > Now missing only a graphical interface :/ > > It's a real christmas present :) > > I test later. > > I wish you a merry christmas (and to whole list). > > Regards, > > Nicolas > > > Le mardi 21 d??cembre 2010 ?? 18:15 -0500, Chris Frey a ??crit : > > Hi list, > > > > There's a new tool in the Barry git repo today, called bio. Bio is a > > command line tool that does Barry Input / Output, and supports the following > > types of IO: > > > > - device > > - tar backup files > > - boost serialization files and streams > > - mime streams > > - LDIF streams > > - human readable text dumps and hex dumps > > - SHA1 sum output > > > > This tool combines a lot of the functionality of btool, btardump, brecsum, > > and bs11nread, but does it more flexibly, and better. > > > > Here's a few examples, to show its power: > > > > 1) Backup a full device to tar backup: > > > > bio -i device -A -o tar -f mybackup.tar.gz > > > > You'll notice that the theme is one -i option, which selects the input > > type, and multiple -o options, selecting the output type. Each type > > can take options of its own. > > > > For example: > > > > 2) Read a backup file and convert the Address Book to MIME > > > > bio -i tar -f mybackup.tar.gz -d "Address Book" -o mime > > > > 3) Copy the Calendar from one device to another, and dump > > the records to stdout in human readable format at the same time > > > > bio -i device -p 3009efe3 -d Calendar \ > > -o device -p 204062f3 \ > > -o dump > > > > 4) Read LDIF input and convert the contacts to MIME format > > > > ldapsearch -x | bio -i ldif -o mime > > > > 5) Test the record code by running the Tasks database through > > the Boost storage and back to human readable > > > > bio -i device -d Tasks -o dump > > > > vs. > > > > bio -i device -d Tasks -o boost -f - | \ > > bio -i boost -f - -o dump > > > > Play around with it, and let me know if you find any bugs. > > > > Enjoy, > > - Chris > > > > > > ------------------------------------------------------------------------------ > > Forrester recently released a report on the Return on Investment (ROI) of > > Google Apps. They found a 300% ROI, 38%-56% cost savings, and break-even > > within 7 months. Over 3 million businesses have gone Google with Google Apps: > > an online email calendar, and document program that's accessible from your > > browser. Read the Forrester report: http://p.sf.net/sfu/googleapps-sfnew > > _______________________________________________ > > Barry-devel mailing list > > Bar...@li... > > https://lists.sourceforge.net/lists/listinfo/barry-devel > > > > > > ------------------------------------------------------------------------------ > Learn how Oracle Real Application Clusters (RAC) One Node allows customers > to consolidate database storage, standardize their database environment, and, > should the need arise, upgrade to a full multi-node Oracle RAC database > without downtime or disruption > http://p.sf.net/sfu/oracle-sfdevnl > _______________________________________________ > Barry-devel mailing list > Bar...@li... > https://lists.sourceforge.net/lists/listinfo/barry-devel |