yesterday - print file names from the dump
] [ -n daysago
] [ -date
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 February 11, 2003,
In fact, the implementation is to select the most recent dump in the current
year, so the dump selected may not be from today.
By default, yesterday
prints the names of the dump files corresponding to
the named files. The first set of options changes this behavior.
- Copy the dump files over the named files.
- Copy the dump files over the named files only when they differ.
- Run diff to compare the dump files with the named files.
option selects other day's dumps, with a format of 1, 2, 4, 6,
or 8 digits of the form d, dd
option selects the dump daysago
prior to the current day.
does not guarantee that the string it prints represents an
See what's changed in the last week in your profile:
yesterday -d -n 7 ~/.profile
Restore your profile from yesterday:
yesterday -c ~/.profile
by convention, root of the dump file system
It's hard to use this command without singing.