diff options
author | rsc <devnull@localhost> | 2005-07-13 03:49:41 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2005-07-13 03:49:41 +0000 |
commit | 004aa293f360ea0f63ec50f5042f8c0fb2831e4f (patch) | |
tree | d44b801b47c82861d68d4045acf0bf7129ce6009 /man/man1/hist.1 | |
parent | 0c98da8bf8ea51d0288222f6c6ba3c125cf20f46 (diff) | |
download | plan9port-004aa293f360ea0f63ec50f5042f8c0fb2831e4f.tar.gz plan9port-004aa293f360ea0f63ec50f5042f8c0fb2831e4f.tar.bz2 plan9port-004aa293f360ea0f63ec50f5042f8c0fb2831e4f.zip |
Dump-like file system backup for Unix, built on Venti.
Diffstat (limited to 'man/man1/hist.1')
-rw-r--r-- | man/man1/hist.1 | 78 |
1 files changed, 78 insertions, 0 deletions
diff --git a/man/man1/hist.1 b/man/man1/hist.1 new file mode 100644 index 00000000..15e8df09 --- /dev/null +++ b/man/man1/hist.1 @@ -0,0 +1,78 @@ +.TH HIST 1 +.SH NAME +hist \- print file names from the dump +.SH SYNOPSIS +.B hist +[ +.B -vdu +] [ +.B -s +.I yyyymmdd +] +.I files ... +.SH DESCRIPTION +.I Hist +prints the names, dates, and sizes of all versions of the named +.IR files , +looking backwards in time, +stored in the dump file system. +If the file exists in the main tree, the first line of output will be its current state. +For example, +.IP +.EX +hist ~rsc/.bash_history +.EE +.PP +produces +.IP +.EX +.nf +May 19 16:11:37 EDT 2005 /home/am3/rsc/.bash_history 6175 +May 18 23:32:16 EDT 2005 /dump/am/2005/0519/home/am3/rsc/.bash_history 5156 +May 17 23:32:31 EDT 2005 /dump/am/2005/0518/home/am3/rsc/.bash_history 5075 +May 16 07:53:47 EDT 2005 /dump/am/2005/0517/home/am3/rsc/.bash_history 5065 +.fi +.EE +.PP +The +.B -v +option enables verbose debugging printout. +.PP +The +.B -d +option causes +.IR diff (1) +.B -c +to be run for each adjacent pair of dump files, while +.B -b +runs +.IR diff +.BR -cb . +.PP +The +.B -u +option causes times to be printed in GMT (UT) rather than local time. +.PP +Finally, the +.B -s +option +sets the starting (most recent) date for the output. +.SH EXAMPLES +.PP +Examine changes in block.c: +.IP +.EX +hist -d block.c +.EE +.SH FILES +.B /dump +.SH SOURCE +.B /home/am3/rsc/src/backup/cmd/history.c +.SH SEE ALSO +.IR yesterday (1) +.SH BUGS +Should be called +.IR history , +but +that name is taken by +.IR sh (1). |