> regexfile = "/var/log/.*\.[0-9]\.gz" > >My guess (and it's only a guess) is that '.*' won't match a '/'; >you'll need to specify the depth, e.g., > > regexfile = "/var/log/.*\.[0-9]\.gz" > regexfile = "/var/log/.*/.*\.[0-9]\.gz"
Oh, that makes sense. Maybe I need a regexp that matches *log.[0-9].gz and simply filter the whole drive. Regexes are still a bit of a mystery to me. Will try your suggestions tomorrow. ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users