[Bacula-users] handy script to show FileSets

2012-10-26 Thread Joseph Spenner
In case anyone finds this useful, I wrote this to quickly show all the FileSets: - #!/usr/bin/perl @fileSetCommand=`echo show fileset | bconsole |grep FileSet`; foreach $line (@fileSetCommand) {     $line =~ m/\=(.*)/;     $fileSet=$1;     push (@fileSets, $fileSet);     }

Re: [Bacula-users] handy script to show FileSets

2012-10-26 Thread John Drescher
On Fri, Oct 26, 2012 at 12:19 PM, Joseph Spenner joseph85...@yahoo.com wrote: In case anyone finds this useful, I wrote this to quickly show all the FileSets: - #!/usr/bin/perl @fileSetCommand=`echo show fileset | bconsole |grep FileSet`; foreach $line (@fileSetCommand) {