to delete 490 (I nuked the first ten within the inner $i loop as a test of xargs) files I ended up with this nasty nasty hack:
for j in `seq -w 2 49 ` ; do for i in 0 1 2 3 4 5 6 7 8 9 ; do echo -n "srm://$DPM_HOST:8443/dpm/gla.scotgrid.ac.uk/home/dteam/rt2-gla-5-1/tfr000-file00$j$i " ; done ; done | xargs srm-advisory-delete
I mean, even altering for a `seq -w 20 499` single loop, just, well, is Bad and Wrong[*]
/rant
Mind you, it worked, as demonstrated by Paul's MonAMI plot of dteam storage use:
No comments:
Post a Comment