1 004aa293 2005-07-13 devnull .TH YESTERDAY 1
3 004aa293 2005-07-13 devnull yesterday \- print file names from the dump
4 004aa293 2005-07-13 devnull .SH SYNOPSIS
5 004aa293 2005-07-13 devnull .B yesterday
10 004aa293 2005-07-13 devnull .I daysago
12 004aa293 2005-07-13 devnull .I \-date
14 004aa293 2005-07-13 devnull .I files ...
15 004aa293 2005-07-13 devnull .SH DESCRIPTION
16 004aa293 2005-07-13 devnull .I Yesterday
17 004aa293 2005-07-13 devnull prints the names of the
19 004aa293 2005-07-13 devnull from the most recent dump.
20 004aa293 2005-07-13 devnull Since dumps are done early in the morning,
21 004aa293 2005-07-13 devnull yesterday's files are really in today's dump.
22 004aa293 2005-07-13 devnull For example, if today is February 11, 2003,
25 004aa293 2005-07-13 devnull yesterday /home/am3/rsc/.profile
31 004aa293 2005-07-13 devnull /dump/am/2003/0211/home/am3/rsc/.profile
34 004aa293 2005-07-13 devnull In fact, the implementation is to select the most recent dump in
35 004aa293 2005-07-13 devnull the current year, so the dump selected may not be from today.
37 004aa293 2005-07-13 devnull By default,
38 004aa293 2005-07-13 devnull .I yesterday
39 004aa293 2005-07-13 devnull prints the names of the dump files corresponding to the named files.
40 004aa293 2005-07-13 devnull The first set of options changes this behavior.
43 004aa293 2005-07-13 devnull Copy the dump files over the named files.
46 004aa293 2005-07-13 devnull Copy the dump files over the named files only when
47 004aa293 2005-07-13 devnull they differ.
52 004aa293 2005-07-13 devnull to compare the dump files with the named files.
56 004aa293 2005-07-13 devnull option selects other day's dumps, with a format of
57 004aa293 2005-07-13 devnull 1, 2, 4, 6, or 8 digits of the form
60 004aa293 2005-07-13 devnull .IR mmdd ,
61 004aa293 2005-07-13 devnull .IR yymmdd ,
63 004aa293 2005-07-13 devnull .IR yyyymmdd .
67 004aa293 2005-07-13 devnull option selects the dump
68 004aa293 2005-07-13 devnull .I daysago
69 004aa293 2005-07-13 devnull prior to the current day.
71 004aa293 2005-07-13 devnull .I Yesterday
72 004aa293 2005-07-13 devnull does not guarantee that the string it prints represents an existing file.
73 004aa293 2005-07-13 devnull .SH EXAMPLES
75 004aa293 2005-07-13 devnull See what's changed in the last week in your profile:
78 004aa293 2005-07-13 devnull yesterday -d -n 7 ~/.profile
81 004aa293 2005-07-13 devnull Restore your profile from yesterday:
84 004aa293 2005-07-13 devnull yesterday -c ~/.profile
86 004aa293 2005-07-13 devnull .SH FILES
87 3aec33fe 2005-07-18 devnull .TF /dump
89 3aec33fe 2005-07-18 devnull by convention, root of the dump file system
91 004aa293 2005-07-13 devnull .SH SOURCE
92 e5e159fd 2005-07-18 devnull .B \*9/bin/yesterday
93 004aa293 2005-07-13 devnull .SH SEE ALSO
94 004aa293 2005-07-13 devnull .IR diff (1),
95 3aec33fe 2005-07-18 devnull .IR hist (1),
96 3aec33fe 2005-07-18 devnull .IR vbackup (8)
98 004aa293 2005-07-13 devnull It's hard to use this command without singing.