*** tob.orig Sun Jul 23 12:33:02 2000 --- tob Sun Jul 23 12:31:59 2000 *************** *** 259,269 **** error "Cannot make list of different files: no full backup exists." fi makefulllist "$1" gunzip -c $TOBHOME/lists/$1.Full.z | ! diff $TMPLIST - | ! grep '^<' | ! sed 's/^< //g' > $TMPLIST.1 || \ ! error "Different files listing failed." } ############################################################################ --- 259,269 ---- error "Cannot make list of different files: no full backup exists." fi makefulllist "$1" + # trb@eastpac.com.au: this should handle large lists better, as in my + # bugfix below, but I have NOT tested this change gunzip -c $TOBHOME/lists/$1.Full.z | ! comm -2 -3 "$TMPLIST" - > "$TMPLIST.1" || \ ! error "Different files listing failed." } ############################################################################ *************** *** 288,297 **** sort "$TMPLIST.1" > "$TMPLIST.2" # all that's been backed up now listed and sorted in $TMPLIST.2 ! diff "$TMPLIST" "$TMPLIST.2" | ! grep '^<' | ! sed 's/^< //g' > "$TMPLIST.1" || \ ! error "Incremental files listing failed." } ############################################################################ --- 288,296 ---- sort "$TMPLIST.1" > "$TMPLIST.2" # all that's been backed up now listed and sorted in $TMPLIST.2 ! # trb@eastpac.com.au: this handles large lists better ! comm -2 -3 "$TMPLIST" "$TMPLIST.2" > "$TMPLIST.1" || \ ! error "Incremental files listing failed." } ############################################################################