|
| Howdy,
I would like to use Networker to archive and groom a select subset of a
directory containing ~600k files (>800 GB) without having to break the
archive up into several thousand seperate jobs, or having to archive the
entire thing and manually groom the files. Looked into writing a custom
directive file, but this seems almost impossible given the very limited
regex support.
Here's an incomplete command line to illustrate what I need to archive
(the complete version is about 10x longer with many nested parentheses):
find /study/fMRI_tools/analysis | PERL -ne \
'print if m$/afni/\d{3}/(gng(/gng_[12])?|nbk)/mc(_acc|_fast)?$'
Watching the output of "nsrarchive -nv ..." indicates that uasm is
called for each file, but I'm lost on where this gets directed to. Is
it possible to generate a script that would be the equivalent of
calling nsrarchive with clone, verify, groom, and annotation options
using something similar to the above command line to produce a list of
files?
Thanks for any advice,
coax
|
|