Bacula-users

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

2010-05-06 13:20:32
Subject: [Bacula-users] Feature idea feeler - bconsole "include / grep"
From: Steve Polyack <korvus AT comcast DOT net>
To: "bacula-devel AT lists.sourceforge DOT net" <bacula-devel AT lists.sourceforge DOT net>
Date: Thu, 06 May 2010 13:17:23 -0400
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