extrac01.sh 218 B

12345678910111213
  1. #! /bin/sh
  2. # There was a diagnostic when directory already exists.
  3. . ./preset
  4. . $srcdir/before
  5. set -e
  6. mkdir directory
  7. touch directory/file
  8. tar cf archive directory || exit 1
  9. tar xf archive || exit 1
  10. . $srcdir/after