> From: Jeff Kennedy [mailto:jlkennedy AT amcc DOT com]
> Sent: Tuesday 17 April, 2001 02:51
> I'm trying to expire an entire pool. Here's the path I took....
>
> bpmedialist -p Offsite | sed 's/ */:/g' | tail +6 >
> /tmp/imagelist.offsite
lots of different solution, here's mine, with awk instead of sed, just
because i prefer awk ;-)
for i in `bpmedialist -l -p Data | awk '{ print $1 }'`; do bpexpdate -ev $i -d
0 ;
done
(bash notation, C/R instead of ; for [k]sh).
Amicalement,
fx
--
fx AT veritas DOT com | A file that big?
François-Xavier Peretmere | It might be very useful.
http://www.veritas.com/ | But now it is gone.
|