[Fwd: To check date of Backup from tape.]

[Fwd: To check date of Backup from tape.]

Post by Abdul Halim Amiruddi » Tue, 30 Mar 1999 04:00:00



Hello Gurus,

I've tried as suggested command;

tar tvf  /dev/rst4  | awk '{ print $7,$4,$5,$6 }' | sort | tail -1
               ^
not as  <your_tar_name>  the resulted : -

I've got date  Thu Jan 01 02:20:00 MYT 1999 ;
I'am not so sure whether the resulted  was accurate.

Please advise , Peter,

Thanx for your explanation..

--alha

[ Attached Message ]

From:
To:
Date: Fri, 26 Mar 1999 08:50:17 -0500
Local: Fri, Mar 26 1999 8:50 am
Subject: Re: To check date of Backup from tape.
How about:

    tar tvf your_tar_name | awk '{ print $7,$4,$5,$6 }' | sort | tail -1

That would give you the most recently modified file on the tape.