NAME
yesterday, diffy – print file names from the dump |
SYNOPSIS
yesterday [ –abcCdDs ] [ –n daysago ] [ –date ] files ...
diffy [ –abcefmnrw ] files ... |
DESCRIPTION
Yesterday prints the names of the files from the most recent dump.
Since dumps are done early in the morning, yesterday's files are
really in today's dump. For example, if today is March 17, 1992,
When presented with a path of the form /n/fs/path, yesterday will look for dump files of the form /n/fsdump/yyyy/hhmm/path.
By default, yesterday prints the names of the dump files corresponding
to the named files. The first set of options changes this behavior. The date option selects other day's dumps, with a format of 1, 2, 4, 6, or 8 digits of the form d, dd, mmdd, yymmdd, or yyyymmdd. The –n option selects the dump daysago prior to the current day. The –s option selects the most recent snapshot instead of the most recent archived dump. Snapshots may occur more frequently than dumps. Yesterday does not guarantee that the string it prints represents an existing file.
Diffy runs diff(1) with the given options to compare yesterday's
version of each of the named files with today's. |
EXAMPLES
Back up to yesterday's MIPS binary of vc:
|
FILES
/n/dump |
SOURCE
/rc/bin/yesterday /rc/bin/diffy |
SEE ALSO
history(1), bind(1), diff(1), fs(4). |
BUGS
It's hard to use this command without singing.
Doesn't work on January 1st. |