right tool for the job
    Rob Lembree 
    lembree at jumpshift.com
       
    Thu Mar  4 09:59:40 EST 2004
    
    
  
I need to make a list of files based on a few things.
The list needs to explicitly exclude some directories,
but with exceptions.  
So for example, I want to grab a whole directory hierarchy
such as 'files', but exclude subdirectory 'exclude', but
include subdirectory 'exclude/include'
files
files/exclude         <---- this directory is excluded
files/exclude/include <---- except this directory or file
files/exclude/others...
The question everyone is Perl, Python, or something else?
Simple shell scripting for this kind of thing is cumbersome.
-- 
Rob Lembree 
JumpShift, LLC
    
    
More information about the gnhlug-discuss
mailing list