---
name: "rdup-hist"
section: "1"
platform: "linux"
package: "rdup"
version: "0.6.0-1"
release: "Debian 5.0 (Lenny)"
platforms: ["linux"]
url: "https://new.carta.tech/rdup-hist"
---

# rdup-hist(1)

show files from the backup

## NAME

rdup-hist - show files from the backup

## SYNOPSIS

**rdup-hist** \[ *-NUMBER\[d\|w\|m\|y\]* \] \[ *OPTION* \] *-b*PATH PATH

## DESCRIPTION

**rdup-hist** show the last five (5) back upped versions of *PATH*. The listing contains the backup directory, an uid, a gid and the file size:

 $ rdup-hist -10w -b /raid/backup ~/miek.nl/index.html

    200801/06 1000 1000 28745 /home/miekg/miek.nl/index.html\
     200801/05 1000 1000 28745 /home/miekg/miek.nl/index.html\
     200801/04 1000 1000 28745 /home/miekg/miek.nl/index.html\
     200801/03 1000 1000 28745 /home/miekg/miek.nl/index.html\
     200801/02 1000 1000 28745 /home/miekg/miek.nl/index.html

No output means that nothing was found.

## OPTIONS

- **-NUMBER\[d\|w\|m\|y\]**

  Start looking for the backup *NUMBER* days ago. The optional modifiers d, w, m and y stand for day, week (7 days), month (30 days) and year (365 days). If you want to look for *PATH* in last year backup you can use:

      rdup-hist -1y PATH

- **-b PATH**

  The root of the backup. This is a mandatory argument.

  **-H HOSTNAME** Set an optional hostname, if this option if not given it default to the current host (value of hostname).

- **-d**

  Show a diff -u of *PATH* and the current file.

- **-c**

  Show the contents of *PATH* in the backup, this is printed to STDOUT.

- **-C**

  Copy the file from the backup to the current directory, \`.rdup' is appended to the name. This uses \`cp -i'.

  **-h** Short help message.

- **-V**

  Show the version.

## SEE ALSO

[rdup(1)](/rdup/1.md).
