[Dirvish] Extracting just a list of banks via PERL
Richard Geoffrion
dirvish at rain4us.net
Thu Feb 7 21:37:49 UTC 2008
I don't know the proper question to ask, so I'm going to ask it in
several ways so that hopefully I can get my point across.
Attempt1:
What is the best way for me to populate a BASH ARRAY with the paths of
all of the configured banks in /etc/dirvish/master.conf?
Attempt2:
Is there a way to have the dirvish scripts list out all of the bank
paths (and just the bank paths) from the /etc/dirvish/master.conf file
so that I can use the paths in a shell script
Attempt3:
Is there a 'dirvishy' way that one can make the paths located in the
bank: section of the /etc/dirvish/master.conf file available to shell
scripts?
I've looked at the dirvish perl script and I have to say that it's a bit
more complicated than I feel comfortable tackling.
--
Richard
More information about the Dirvish
mailing list