Re: (newbie) Want to obtain the full timestamp of a file

2003-02-19 Thread R P Herrold
you guys work too hard, inventing the wheel: $ stat -t -l /etc/passwd /etc/passwd 1718 4 81a4 0 0 302 10910 1 0 0 1045685820 \ 1041344171 1041344171 4096 $ man stat is your friend - Russ Herrold -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe http

Re: (newbie) Want to obtain the full timestamp of a file

2003-02-19 Thread Jonathan Bartlett
use Postgres Now), but it will definitely give you just the > timestamp. > > Jon > > On Wed, 19 Feb 2003, Mazza, Glen R., ,CPMS wrote: > > > Hello, > > > > I would like to be able to obtain the full timestamp, and only the > > timestamp, of a file. (This va

Re: (newbie) Want to obtain the full timestamp of a file

2003-02-19 Thread Jonathan Bartlett
stat FILENAME|grep Modify:|cut -d":" -f2 I don't know if that will give you Oracle-formatted dates (it's been a while - I use Postgres Now), but it will definitely give you just the timestamp. Jon On Wed, 19 Feb 2003, Mazza, Glen R., ,CPMS wrote: > Hello, > > I wo

Re: (newbie) Want to obtain the full timestamp of a file

2003-02-19 Thread nate
Mazza, Glen R., ,CPMS said: > > and get a response--including the year--like: > > 2002 Oct 4 11:04 I am very much a perl newbie but this thing seems to work: #!/usr/bin/perl -w # change: # a stat on 8 shows last access time # 8 to 9 for last modification time # 8 to 10 for last inode change time

Re: (newbie) Want to obtain the full timestamp of a file

2003-02-19 Thread Emmanuel Seyman
On Wed, Feb 19, 2003 at 01:10:28PM -0500, Mazza, Glen R., ,CPMS wrote: > > What I'm looking for is some "foo" command that will allow me to type in: > foo AFile.txt > and get a response--including the year--like: > 2002 Oct 4 11:04 There's got to be an easier way to do this but: function foo() {

Re: (newbie) Want to obtain the full timestamp of a file

2003-02-19 Thread Raymundo M. Vega
This command will do it: ls -l --full-time AFile.txt | awk '{print $7,$8,$10,$9}' hope it helps raymundo Mazza, Glen R., ,CPMS wrote: Hello, I would like to be able to obtain the full timestamp, and only the timestamp, of a file. (This value will be sent to a database for reco

Re: Problem with timestamp changing using cp -a

2003-02-06 Thread Andrew Pasquale
I am trying to make an archive backup of files >using cp -a and I am running samba and trying to backup files to a w2k server on the >network. I have successfully mounted the w2k server using the command mount -t smbfs >/backup. The problem I have is that when using cp -a the second

Problem with timestamp changing using cp -a

2003-02-06 Thread Don Wilson
backup files to a w2k server on the network.  I have successfully mounted the w2k server using the command mount -t smbfs /backup.  The problem I have is that when using cp -a the seconds of the timestamp is sometimes different on the w2k computer then on the RH server.  The seconds of the

RE: postfix timestamp and redhat 7.3

2002-10-02 Thread Mark Bradbury
e same as the time zone for the machine > > Don't know where your anomaly is coming from I'm afraid > > -Original Message- > From: Mark Bradbury [mailto:[EMAIL PROTECTED]] > Sent: 02 October 2002 04:28 > To: [EMAIL PROTECTED] > Subject: postfix timestam

Re: Timestamp

2001-12-04 Thread Bret Hughes
Nevin Swan wrote: > Hi guys, > > How do you convert a linux timestamp (in a squid access.log for example) into > real human time? > from the info page for date, you can add the number of seconds to the beginning of the epoch here is an example: [bhughes@bretdell_linux bhughes

Timestamp

2001-12-03 Thread Nevin Swan
Hi guys, How do you convert a linux timestamp (in a squid access.log for example) into real human time? Nevin Swan Hotline Support Total IT Solutions Network Engineer Ph: 8904 9777 Fax: 8904 9666 [EMAIL PROTECTED

Timestamp problem

1999-11-12 Thread Azhar H. Chowdhury
Dear all, I am using Livingston's RADIUS v. 2.1 at Digital UNIX 4.0 without any problem. But from last month I can there are few (2/3) problem with error in TIMESTAMP record at detail's file. It will be very helpful if you can write where are the problem. Thanks in advance

syslog/timestamp wierdness

1998-05-08 Thread Alan Sieg
Greetings, please reply direct, as I am post-only subscriber... --- Finding most syslog entries timestamped with local (EDT) timestamp, while others are stamped with UTC. Even from same program. ie: May 8 15:20:41 host