glastreeprune(1)

NAME

glastreeprune - list old paths in a glastree directory

SYNOPSIS

glastreeprune [options] backupdir

DESCRIPTION

Print date paths from a glastree backup directory, one per line, that are older than days Combine with xargs & rm to effect a constant, sliding backup window.

EXAMPLE

  # glastreeprune --days=8 /bak | xargs -- rm -fr

OPTIONS

--days=n
    Keep last n days (from today); default is 30

--print0
    Separate lines by NUL, preserving embedded newlines

--help
    Display help message and exit

REPORTING BUGS
Report bugs to <jeremyw-glastree@igmus.org>.

SEE ALSO

glastree(1), xargs(1)

http://igmus.org/code

AUTHOR

Jeremy Wohl