GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
YESTERDAY(1) FreeBSD General Commands Manual YESTERDAY(1)

yesterday - print file names from the dump

yesterday [ -cCd ] [ -n daysago ] [ -date ] files ...

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 February 11, 2003,
yesterday /home/am3/rsc/.profile
    
prints
/dump/am/2003/0211/home/am3/rsc/.profile
    
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.
-c
Copy the dump files over the named files.
-C
Copy the dump files over the named files only when they differ.
-d
Run diff to compare the dump files with the named files.
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.
Yesterday does not guarantee that the string it prints represents an existing file.

See what's changed in the last week in your profile:
yesterday -d -n 7 ~/.profile
    
Restore your profile from yesterday:
yesterday -c ~/.profile
    

/dump by convention, root of the dump file system

/bin/yesterday

diff(1), hist(1), vbackup(8)

It's hard to use this command without singing.

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.