Comment 2 for bug 768481

Revision history for this message
l0co (l0co) wrote :

A workaround with --dry-run and checking DeltaEntries line:

CHANGES=`duplicity ---dry-run [...] | grep DeltaEntries | sed "s/DeltaEntries //"`
if [ "$CHANGES" == "0" ]; then
  echo "No changes detected, skipping"
else
  duplicity --progress [...]
fi