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)
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)
I need to move files after midnight but attach the previous date to it.
Moving files before midnight no proproblem but how can I move files which are created on the 22nd for example but add a date stamp of previous day?
Date ='date +"Y%m%d"' gets today's date but how can I get yesterday's... (3 Replies)
Hi,
can any one tell me how to achieve this...I will input the path and file name and it should rename it to current date and time...
this is what I tried...
#! /usr/bin/sh
set -x
cd /info_stg/vul/Scripts
TODAY_DATE_TIME=`date +%Y%m%d%H%M%S`
IN_FILE_PATH=`cat file.txt | awk -F, '{... (2 Replies)
Dear Gurus,
I'm trying to move a number of files from one directory to another directory with a new date stamp. This is my script:
#! /bin/csh
Today_Date=`date +%Y%M%D`
mv /usr/TRS/data/TS* /usr/TRS/backup/TS*.${Today_Date}
when i run the script i'm getting the following errors:
mv:... (14 Replies)
Hi All,
Wondering if there is have a date added at the end of a test string. I have a hypothetical text file day one:
John
Paul
George
When the file day one is output, I'd like it to read something like this:
John 101406
Paul 101406
George 101406
Day two, when the same text file... (0 Replies)
Hi,
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)
Hi,
Below is the content of the file how it looks:
# EMAIL
#export BMS_EMAIL_ENABLED=true
export BMS_EMAIL_ENABLED=false
#export BMS_EMAIL_SERVER=esasmtp01.kohls.com
export BMS_EMAIL_SERVER=esasmtp01.kohls.com.SMTP_SERVICE
export BMS_EMAIL_FROM_ADDRESS=ec_notify@kohlsectest.com
export... (4 Replies)
Hi Folks,
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
6 Replies
LEARN ABOUT DEBIAN
net::google::code::issue::comment
Net::Google::Code::Issue::Comment(3pm) User Contributed Perl Documentation Net::Google::Code::Issue::Comment(3pm)NAME
Net::Google::Code::Issue::Comment - Issue's Comment
DESCRIPTION ATTRIBUTES
project
project name
email, password
user's email and password
issue_id
sequence
sequence number, initial comment( when you create an issue ) has sequence 0
date
content
author
updates
HashRef that reflects updates
attachments
INTERFACE
parse( HTML::Element or html segment string )
parse format like the following:
<td class="vt issuecomment">
<span class="author">Comment <a name="c18"
href="#c18">18</a>
by
<a href="/u/jsykari/">jsykari</a></span>,
<span class="date" title="Wed Sep 3 04:44:39 2008">Sep 03, 2008</span>
<pre>
<b>haha</b>
</pre>
<div class="attachments">
<table cellspacing="0" cellpadding="2" border="0">
<tr><td rowspan="2" width="24"><a href="http://chromium.googlecode.com/issues/attachment?aid=-1323983749556004507&name=proxy_settings.png" target="new"><img width="16" height="16" src="/hosting/images/generic.gif" border="0" ></a></td>
<td><b>proxy_settings.png</b></td></tr>
<tr><td>14.3 KB
<a href="http://chromium.googlecode.com/issues/attachment?aid=-1323983749556004507&name=proxy_settings.png">Download</a></td></tr>
</table>
</div>
<div class="updates">
<div class="round4"></div>
<div class="round2"></div>
<div class="round1"></div>
<div class="box-inner">
<b>Cc:</b> thatan...@google.com<br><b>Status:</b> Available<br><b>Labels:</b> Mstone-X<br>
</div>
<div class="round1"></div>
<div class="round2"></div>
<div class="round4"></div>
</div>
</td>
list
google's api way to get list of comments return a list of loaded( no scraping is done here ) comments in list context, a ref to the
list otherwise.
parse_hybrid
when $Net::Google::Code::Issue::USE_HYBRID is true, we will try to load comments with the google's official api, but as the api is not
complete, we still need to do scraping to load something( e.g. attachments ), this method is used to do this.
AUTHOR
sunnavy "<sunnavy@bestpractical.com>"
LICENCE AND COPYRIGHT
Copyright 2008-2010 Best Practical Solutions.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.10.1 2010-04-07 Net::Google::Code::Issue::Comment(3pm)