hi,
from a shell script I am copying 2 different set of files in 2 different directories and then it ftp the same set files to another server 2 different
directories.
the dest directories where it is copying the files own by a different user
and required permission is there... (0 Replies)
Hi all.
I have the following code:
#include<stdio.h>
#include<time.h>
int main()
{
struct tm tm;
time_t time = 1262322000; /*Jan, 01, 2010*/
char temp;
int i = 0;
while(i < 4)
{
memset(temp, 0, 128);
localtime_r(&time,... (2 Replies)
Hi,
I am trying to insert a timestamp after all the file names in a folder,after the timestamp is created in the filename the file size is becoming zero bytes.
please tell me where I am doing it wrong.
I have declared the variable in starting of my script.
timestamp=`date... (1 Reply)
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)
I need to be able to identify files with file timestamps greater than a given timestamp.
I am using the following solution, although it appears to compare files at the "seconds" granularity and I need it at the milliseconds. When I tested my solution, it missed files that had timestamps... (3 Replies)
I have a date/timestamp problem I can't figure out. I have an Oracle table with a column DEL_TIMESTAMP defined as a NUMBER. The min and max values in the column are:
6.3417E+17
6.3470E+17
the bottom value is: 634700000000000000
Is this the time since the epoch? How does this represent... (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)
Hello ,
I am working on AIX. I have to convert Unix timestamp to normal timestamp. Below is the file. The Unix timestamp will always be preceded by
EFFECTIVE_TIME as first field as shown and there could be multiple EFFECTIVE_TIME in the file : 3.txt
Contents of... (6 Replies)
So basically I have a log file and each line in this log file starts with a timestamp:
MON DD HH:MM:SS
SEP 15 07:30:01
I need to grep all the lines between last hour timestamp and current timestamp. Then these lines will be moved to a tmp file from which I will grep for particular strings. ... (1 Reply)