YESTERDAY(1) YESTERDAY(1)
NAME
yesterday - print file names from the dump
SYNOPSIS
yesterday [ -c ] [ -date ] 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,
yesterday /adm/users
prints
/n/dump/1992/0317/adm/users
In fact, the implementation is to select the most recent
dump in the current year, so the dump selected may not be
from today.
With option -c, yesterday copies the dump file to the cur-
rent directory.
The date option selects other day's dumps, with a format of
2, 4, 6, or 8 digits of the form dd, mmdd, yymmdd, or
yyyymmdd.
Yesterday does not guarantee that the string it prints rep-
resents an existing file.
EXAMPLES
Back up to yesterday's MIPS binary of vc:
cd /mips/bin
yesterday -c vc
Temporarily back up to March 1's MIPS C library to see if a
program runs correctly when loaded with it:
bind `{yesterday -0301 /mips/lib/libc.a} /mips/lib/libc.a
rm v.out
mk
v.out
FILES
/n/dump
SOURCE
Page 1 Plan 9 (printed 11/5/25)
YESTERDAY(1) YESTERDAY(1)
/rc/bin/yesterday
SEE ALSO
fs(4)
BUGS
It's hard to use this command without singing.
Page 2 Plan 9 (printed 11/5/25)