also sprach Olivier Berger <[email protected]> [2010.03.04.1831 +0100]:
> Here's a first attempt at adding such a feature, which would by
> default create a new full backup every half of the keep period.
> 
> So for instance, if one keeps backups for 60 days, a full new
> backup will be created every 30 days, so 2 complete full will be
> kept, without accumulating too many incrementals.

I use '1Y' as datespec. Apart from the bashism (let), I doubt this
will work.

> +         let "fullifolderthan = keep / 2"

fullifolderthan=$(($keep / 2))

-- 
 .''`.   martin f. krafft <[email protected]>      Related projects:
: :'  :  proud Debian developer               http://debiansystem.info
`. `'`   http://people.debian.org/~madduck    http://vcs-pkg.org
  `-  Debian - when you have better things to do than fixing systems

Attachment: digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/)

Reply via email to