Yet Another Newbie question

From: K.Peters (kai.peters_at_gmail.com)
Date: 12/13/04


Date: 13 Dec 2004 14:58:58 -0800

Hi all ~

forgot my Blinn book at home today - arggh!

Need help with see below - thanks, as always, for any help!

Kai

/usr/bin/find $SOURCEDIR -maxdepth 1 -type f -name "*.mvz" -print \
  | while read filename ; \
    do \

      # here I would need to replace the ".mvz" extension with a "/"
      # and set UNZIPDIR to that string
      UNZIPDIR=???

      unzip -d $UNZIPDIR -qq -o $filename; \
      sleep 1; \
      mv $filename $filename"_done" ; \
    done
~