12 Jun
2012
12 Jun
'12
1:48 a.m.
On Monday, June 11, 2012 at 9:26 PM, Jeremy Huntwork wrote:
This is what I'm after. Instead of else ; rm -f ${pt}, maybe do:
else ; find "${pt%*}" ! -type d -name "${pt##/*}" -exec rm -f -- '{}' +
Ugh, typos in my substitutions. should be find "${pt%/*}" ! -type d -name "${pt##*/}" -exec rm -f -- '{}' + That's what I get for sending emails when I'm tired. JH