Frank Kujawski wrote:
> I have a few directories where I download RPMs and TGZs. I do not want to
> back up the files, but I do want to back up the name of the files. The only
> way I can guess to do it is like this:
>
> FileSet {
> Name = Source
> File = "!ls /source/RPMs > /source/RPMs/RPMS.lst; echo
> /source/RPMs/RPMS.lst"
> }
My first thought was a RunBefore script, which would do similar to the above.
In the RunBefore script, I'd do this:
find /source/RPMs > source/RPMs/RPMS.lst
And in the FileSet, do this:
FileSet {
Name = Source
File = "/source/RPMs/RPMS.lst"
}
--
Dan Langille - http://www.langille.org/
BSDCan - The Technical BSD Conference: http://www.bsdcan.org/
PGCon - The PostgreSQL Conference: http://www.pgcon.org/
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users