10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Help with Perl script :
I have a web.xml file with a line
Need to append the current date and time stamp to the string and save the XML file
-->Finally want... (5 Replies)
Discussion started by: gaurav99
2. Shell Programming and Scripting
Need a clarification on files with date and time stamp.
Here is my requirement. There is a file created everyday with the following format "file.txt.YYYYMMDDHHMMSS".
Now i need to check for this file and if it is available then i need to do some task to the file.
I tried... (6 Replies)
Discussion started by: jayadanabalan
3. Shell Programming and Scripting
Please see our current script:
if (egrep "This string is found in the log" /a01/bpm.log)
mailx -s "Error from log" email@example.com, firstname.lastname@example.org </a01/bpm.log
To the above existing script, we need to add the following change:
1) After finding the string,... (7 Replies)
Discussion started by: atechcorp
4. Shell Programming and Scripting
I use "touch -t xxxxxxxx" command to set date/time stamp of a file. My requirement is to read the date/time stamp of a file and apply it to another file.
Is there anyway to do it simple instead of manually taking date/stamp of first file?
Prvn (2 Replies)
Discussion started by: prvnrk
5. Shell Programming and Scripting
I have searched several thread and not found my solution, so I am posting a new qustion.
I have a very simple script on an AIX server that FTPs 2 files to a MS FTP server. These 2 files are created on the AIX server every hour, with a static name.
I need to FTP the files to the MS server, but... (1 Reply)
Discussion started by: sknisely
6. UNIX for Advanced & Expert Users
We are using RSYNC for syncing remote directories and working great. Our requirement is to have the destination files with date/time stamp of when they're copied on to the destination server, NOT the date/time stamps of source files/directories.
As RSYNC, by default, preserving the same... (4 Replies)
Discussion started by: prvnrk
7. UNIX for Dummies Questions & Answers
Wondering if there is have a date added at the end of a test string. I have a hypothetical text file day one:
When the file day one is output, I'd like it to read something like this:
Day two, when the same text file... (0 Replies)
Discussion started by: JimmyFlip
8. Shell Programming and Scripting
I have a directory with following files in it
I want to insert time and date stamp in file names like
I able to insert the time and date stamp at the end of filename
Kindly help (1 Reply)
Discussion started by: aajmani
9. Shell Programming and Scripting
I'm trying to write a script that checks the DTS of a file the compares it to the current time. If greater that 60 mins has gone by and the file has not been written to alert.
So far I have the time pulled from the file but I dont know how to compare the times against a 60 min difference.
... (2 Replies)
Discussion started by: jarich
10. UNIX for Dummies Questions & Answers
I have to capture the creation date and time stamp for a file. The ls command doesn't list all the required information. I need year, month, day, hour, minute and second.
Any ideas... (1 Reply)
Discussion started by: Xenon