home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Unix System Administration Handbook 1997 October
/
usah_oct97.iso
/
gnu
/
tar.txt
/
tar-1.12
/
tests
/
incremen.sh
< prev
next >
Wrap
Linux/UNIX/POSIX Shell Script
|
1997-04-25
|
454b
|
26 lines
#! /bin/sh
# A directory older than the listed entry was skipped completely.
. ./preset
. $srcdir/before
set -e
mkdir structure
touch structure/file
# FIXME: The sleep is necessary for the second tar to work. Exactly why?
sleep 1
tar cf archive --listed=list structure
tar cfv archive --listed=list structure
echo -----
touch structure/file
tar cfv archive --listed=list structure
out="\
structure/
-----
structure/
structure/file
"
. $srcdir/after