Actually:
will set the access time and the modification time of file2 and any other file operands to match the access time and the modification time of file1. If you just want to reset the modification time, use:
This User Gave Thanks to Don Cragun For This Post:
Hi,
I'm trying to write a command that backs up certain files into my current directory and adds a prefix to the backed up file name. I realise this can be done in a script by specifying each individual file but would like to know if it can be done on one line and made an alias.
I have the... (5 Replies)
Hi guys,
I'm fidling around Partition space on SMC
and on changing partition size, or assiging an unused partition to "usr", or even trying to alter the disk layout I get:
Attempted Format of Partition /dev/dsk/c1t0d0s3 failed with unexpected CIM error:
CIM_ERR_FAILED:CIM_ERR_FAILED:... (2 Replies)
Hi all, below is my current scriptftp -n << FTPCTRL
open $my_ip
user $my_user $my_pass
ascii
prompt off
lcd $myDIR
cd $ftp_cd
$OPS $myfile
FTPCTRLI'd like to amend it to sftp mode. Please advise the correct step.I consulted the man pages of sftp and I suppose I should be using the... (1 Reply)
Hi,
Please could someone advise on the following if possible. I have built a unix server, and was given the wrong hostname. I need to amend the hostname to the correct name. And I don't want to rebuild the server again.
I've tried the following to do change :
hostname DTCT-TD3FIXI01A... (3 Replies)
2009/03/30 08:11:34.553 DFP
2009/03/30 08:11:36.861 PLO
I want it to be
2009/03/30 09:11:34.553 DFP
2009/03/30 09:11:36.861 PLO
and
2009/03/30 23:11:34.553 DFP
2009/03/30 23:11:36.861 PLO
to be
2009/03/30 00:11:34.553 DFP
2009/03/30 00:11:36.861 PLO
Can we use sed or... (4 Replies)
Hi All
I want to change the date timestamp for the log file but to do it within crontab
I've tried the following..
40 11 * * * /data/dart/dc65.1/bin/adstats.sh > /data/dart/dc65.1/bin/adstats_`date'+%d:%m-%H.%M.%S'`.log 2>&1
But I only get adstats_
Any ideas?
Thanking you all... (4 Replies)
Hi All,
I am new to unix programming. I am trying for a requirement and the requirement goes like this.....
I have a test folder. Which tracks log files. After certain time, the log file is getting overwritten by another file (randomly as the time interval is not periodic). I need to preserve... (2 Replies)
Hi Friends,
I have the following logfile. Currently time in india is 07/31/2014 12:33:34 and i have the following content in logfile. I want to display only those entries which contain string 'Exception' within last 3 hours. In this case, it would be the last line only
I can get the... (12 Replies)
Discussion started by: srkmish
12 Replies
LEARN ABOUT DEBIAN
net::gpsd3::return::unknown::timestamp
Net::GPSD3::Return::Unknown::Timestamp(3pm) User Contributed Perl Documentation Net::GPSD3::Return::Unknown::Timestamp(3pm)NAME
Net::GPSD3::Return::Unknown::Timestamp - Net::GPSD3 Return Base Class with Timestamp
SYNOPSIS
package XXX;
use base qw{Net::GPSD3::Return::Unknown::Timestamp};
DESCRIPTION
Provides a time, timestamp and datetime methods to a GPSD3 Return object.
METHODS
time
Seconds since the Unix epoch, UTC. The value may have a fractional part of up to .01sec precision.
Note: In 2.96 (protocol 3.4) the TPV->time format changed from unix epoch to W3C, but this method attempts to hide that change from the
user.
Since the POSIX standard for the Unix epoch does not use leap seconds but GPS system does I do not recommend that you use this method for
time display or storage. This method is purely here for backwards compatibility.
timestamp
W3C formated timestamp value either directly from the protocol >= 3.4 or calculated < 3.4. The value may have a fractional part of up to
.01sec precision.
Note: I expect that in protocol 3.5 the value will be passed directly as TPV->timestamp
datetime
Returns a DateTime object
BUGS
Log on RT and Send to gpsd-dev email list
SUPPORT
DavisNetworks.com supports all Perl applications including this package.
Try gpsd-dev email list
AUTHOR
Michael R. Davis
CPAN ID: MRDVT
STOP, LLC
domain=>michaelrdavis,tld=>com,account=>perl
http://www.stopllc.com/
COPYRIGHT
This program is free software licensed under the...
The BSD License
The full text of the license can be found in the LICENSE file included with this module.
SEE ALSO
Net::GPSD3, Net::GPSD3::Return::Unknown, DateTime::Format::W3CDTF, DateTime
perl v5.14.2 2011-12-27 Net::GPSD3::Return::Unknown::Timestamp(3pm)