Bacula-users

Re: [Bacula-users] Feature idea feeler - bconsole "include / grep"

2010-05-06 15:00:00
Subject: Re: [Bacula-users] Feature idea feeler - bconsole "include / grep"
From: "Paul Binkley" <paul.binkley AT ois DOT com>
To: "'Steve Polyack'" <korvus AT comcast DOT net>, <bacula-devel AT lists.sourceforge DOT net>
Date: Thu, 6 May 2010 14:21:21 -0400
Would totally love to be able to use grep within bconsole...was wishing for
that earlier today. 

-----Original Message-----
From: Steve Polyack [mailto:korvus AT comcast DOT net] 
Sent: Thursday, May 06, 2010 1:17 PM
To: bacula-devel AT lists.sourceforge DOT net
Cc: bacula-users
Subject: [Bacula-users] Feature idea feeler - bconsole "include / grep"

This is just a feeler to see if there would be any interest in the following
feature:

Now that we have tab completion within bconsole, an additional option has
come to mind which you can see in various other CLI environments (IOS, *NIX
shells): the ability to pipe the output of commands through a various set of
filters.

In the *NIX shell environment you can simply pipe the output of any program
to 'grep' to filter the output.  Cisco IOS allows you to do the same thing,
along with the 'begin' option, which begins output after encountering the
following token.

I believe this would be a nice feature to have for bconsole.  For example,
if I want to see if particular files/directories were backed up for a job I
could simply perform a '*list files jobid=999 | include
filenameImLookingFor'.  "include" could be interchangeable with "grep".  
I realize that I can accomplish the same thing with SQL queries or submit
bconsole commands via a shell and filtering the output, but this still seems
like it would streamline bconsole usage.

Thoughts?
-Steve Polyack

----------------------------------------------------------------------------
--
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users


------------------------------------------------------------------------------
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users