]> Dogcows Code - chaz/tar/blob - incremen.sh
c723e9c9b66b2c2fc26cb64122373296865f28d6
[chaz/tar] / incremen.sh
1 #! /bin/sh
2 # A directory older than the listed entry was skipped completely.
3
4 . ./preset
5 . $srcdir/before
6
7 set -e
8 mkdir structure
9 touch structure/file
10 # FIXME: The sleep is necessary for the second tar to work. Exactly why?
11 sleep 1
12 tar cf archive --listed=list structure
13 tar cfv archive --listed=list structure
14 echo -----
15 touch structure/file
16 tar cfv archive --listed=list structure
17
18 out="\
19 structure/
20 -----
21 structure/
22 structure/file
23 "
24
25 . $srcdir/after
This page took 0.038574 seconds and 3 git commands to generate.