Hi,
I am trying to do achieving of files by months.
find /test -name \*.* -mtime +30
will give me the result of all modified files after 30 days.
But lets say i want to list all files that is modified in last months... what is the command to do it?
Thanks! (13 Replies)
Hi,
My task to to delete files which are of previous months.
I have files named as follows *CCYYMMDD.xls. on a particular day i have delete previous months files
i.e in Dec i have delete all nov files which look like 200511DD.XLS
in Jan i have to delete all Dec files 200512DD.xls
... (7 Replies)
Hi,
I want to delete files of a particular month in a particular directory. Please tell me a script for this so that it will search a particular kind of file in that directory and delete them.I am using HP-UX. (1 Reply)
Hi,
I need to create a script which should delete all the log files which are 1 month old or older than that.
For ex:
Today's date -- > 09/30/2010
Directory --> /user/work/log/
Files-->
log.07182010 created on 07/18/2010
log.08182010 created on 08/18/2010
log.09182010 ... (4 Replies)
Hello All,
I am trying to come up with a shell script to count a specific word in a logfile on each day of this month, last month and the month before. I need to produce this report and email it to customer.
Any ideas would be appreciated! (5 Replies)
Hi All
I am trying to remove files from february, only using the following commands:
find . -mtime 70 -exec rm {} \;, but I dont seem to get them deleted.
But I am confused, now, because I have been told to use -atime, like
find . -atime 75 -exec rm {} \;Please can you help!
FR (8 Replies)
Hi,
I have a script that accepts an input date from the user in yyyy-mm-dd format.
I need to get the mm-dd part and convert it to month name.
example:
2011-11-15
I want that to become "Nov 15"
I don't have the GNU date, I am using an AIX os.
Thanks. (1 Reply)
Hello,
i`m looking for some way to add to some date an partial number of months, for example to 2015y 02m 27d + 2,54m
i need to write this script in php or bash or sh or mysql or perl in normal time o unix time
i`m asking or there are any simple way to add partial number of month to some... (14 Replies)
Hi All,
How to get last month files. Ex : 1st Jan i have to get Dec 31 days files and on Feb 1st i have to get Jan 31 days files and on Mar 1st i have to get Feb 28 days files. Below are the example files with date and timestamp.
aaa.txt.timestamp
aaa.txt.timestamp
aaa.txt.timestamp
Please... (7 Replies)
Discussion started by: kiranparsha
7 Replies
LEARN ABOUT MOJAVE
net::dns::rr::rp5.18
Net::DNS::RR::RP(3) User Contributed Perl Documentation Net::DNS::RR::RP(3)NAME
Net::DNS::RR::RP - DNS RP resource record
SYNOPSIS
use Net::DNS;
$rr = new Net::DNS::RR('name RP mbox txtdname');
DESCRIPTION
Class for DNS Responsible Person (RP) resource records.
METHODS
The available methods are those inherited from the base class augmented by the type-specific methods defined in this package.
Use of undocumented package features or direct access to internal data structures is discouraged and could result in program termination or
other unpredictable behaviour.
mbox
$mbox = $rr->mbox;
A domain name which specifies the mailbox for the person responsible for this domain. Its format in master files uses the DNS convention
for mailbox encoding, identical to that used for the RNAME mailbox field in the SOA RR. The root domain name (just ".") may be specified
to indicate that no mailbox is available.
txtdname
$txtdname = $rr->txtdname;
A domain name identifying TXT RRs. A subsequent query can be performed to retrieve the associated TXT records. This provides a level of
indirection so that the entity can be referred to from multiple places in the DNS. The root domain name (just ".") may be specified to
indicate that no associated TXT RR exists.
COPYRIGHT
Copyright (c)1997-2002 Michael Fuhr.
Package template (c)2009,2012 O.M.Kolkman and R.W.Franks.
All rights reserved.
This program is free software; you may redistribute it and/or modify it under the same terms as Perl itself.
SEE ALSO
perl, Net::DNS, Net::DNS::RR, RFC1183 Section 2.2
perl v5.18.2 2014-01-16 Net::DNS::RR::RP(3)