Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ (1) — Plan9 1st Edition

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

fs(4)

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 current 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 represents 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

SEE ALSO

fs(4)

BUGS

It’s hard to use this command without singing. 

Plan 9  —  January 03, 1993

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026