[Nepomuk] Re: sopranocmd export stdout

Sebastian Trüg trueg at kde.org
Wed Mar 23 09:15:22 CET 2011


very willing to accept patches. :)
Should be fairly easy to fix. I simply never though of it. IMHO it would
make sense to default to stdout.

On 03/23/2011 12:55 AM, Ben Martin wrote:
> Hi,
>   I've been using sopranocmd to export an RDF database for archival
> purposes. Unfortunately, you can get some rather large files using
> export. Luckily, they compress really well too.
> 
>   I haven't been able to convince sopranocmd to export to stdout so I
> can bzip2 compress its output without it hitting disk. Using "-" as the
> file name creates a file called "-" and writes to it. And trying to be
> trickier fails too, perhaps because the file is opened read/write?
> 
> $  sopranocmd --backend redland export /proc/self/fd/1
> Could not open file for writing: /proc/self/fd/1
> 
> Thoughts || willingness to accept patches to make this work like above?
> 
> 
> 
> 
> _______________________________________________
> Nepomuk mailing list
> Nepomuk at kde.org
> https://mail.kde.org/mailman/listinfo/nepomuk


More information about the Nepomuk mailing list