03-26-2008
Hi,
Ex: I need to find files which are created on 21st Feb 2008 using find command then please provide me syntax for the same. I didn't know where to mention said date.
ex: find ./ -name '*.sh' -ctime 21/02/2008 this is not working????????
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hai,
i have one directory contains 100 files .each file name like xvb_dateformat.i want find which file names are xvb_lessthan or equal to currentdate.
any one give the solution.
regards (4 Replies)
Discussion started by: mallikarjuna
4 Replies
2. UNIX for Advanced & Expert Users
Hi
I am using
#!/bin/sh
DATE="$1"
FILE="$2"
FLIST=""
for f in $FILE
do
FDATE=$(ls -l $f | awk '{ print $6 }')
if ;then
FLIST="$FLIST $f"
fi
done
&& echo $FLIST || echo "Sorry no files found to match $DATE date."
the below... need correction
whne i execute the above (1 Reply)
Discussion started by: gkrishnag
1 Replies
3. Shell Programming and Scripting
**************************************************
Purpose : find files by date
Condition: olther than | newer than | between _date1 _date2
Date format: 2007/10/28
**************************************************
Please help me
Thanks (1 Reply)
Discussion started by: kani
1 Replies
4. Shell Programming and Scripting
How can I delete files for a particular date ?
I apologize in advance If there is solution please put the link.
Thanks, (5 Replies)
Discussion started by: jville
5 Replies
5. Shell Programming and Scripting
Hi, I need to find out list of files which are older than specific date. I am using 'find, and newer' commands but its not giving the correct result.
Can you please help to findout the list of files.
thanks (2 Replies)
Discussion started by: Satyak
2 Replies
6. UNIX for Dummies Questions & Answers
Hi all,
I am a beginner and I was hoping you can help me out.
I am doing some PDF cleanup and I am looking for a command to search for all PDFs in a certain folder that are older than 2008 for example.
This is what I have so far:
find ./ -mtime +500 -name '*.pdf' >/test/results.txt
... (13 Replies)
Discussion started by: SyphaX
13 Replies
7. Shell Programming and Scripting
Dear all,
kindly i have some files with different dates i need to grep word from these files but i need to search in files with date 2012-12-02 not all files in this directory
do u have any command (4 Replies)
Discussion started by: maxim42
4 Replies
8. Shell Programming and Scripting
Hi,
I am looking to find files of a specific date.
I am on Sun Solaris so newermt doesnot work..
I thought of using mtime but not getting how to use it.
Please help me with this..
Regards
Abhinav (3 Replies)
Discussion started by: abhi1988sri
3 Replies
9. UNIX for Advanced & Expert Users
Hi All,
I need to find all files other than first two files dates & last file date for month and month/year wise list.
lets say there are following files in directory
Mar 19 2012 c.txt
Mar 19 2012 cc.txt
Mar 21 2012 d.txt
Mar 22 2012 f.txt
Mar 24 2012 h.txt
Mar 25 2012 w.txt
Feb 12... (16 Replies)
Discussion started by: Makarand Dodmis
16 Replies
10. UNIX for Dummies Questions & Answers
My unix version is IBM AIX Version 6.1
I tried google my requirement and found the below answer,
find . -newermt “2012-06-15 08:13" ! -newermt “2012-06-15 18:20"
But newer command is not working in AIX version 6.1 unix
I have given my requirement below:
Input:
atr files:
... (1 Reply)
Discussion started by: yuvaa27
1 Replies
LEARN ABOUT DEBIAN
geoiplookup6
GEOIPLOOKUP6(1) General Commands Manual GEOIPLOOKUP6(1)
NAME
geouplookup6 - look up country using IP Address or hostname
SYNOPSIS
geouplookup6 [-d directory] [-f filename] [-v] <ipaddress|hostname>
DESCRIPTION
geouplookup6 uses the GeoIP library and database to find the Country that an IP address or hostname originates from. You must install a
database suitable for geoiplookup6. IE: GeoIPv6.dat
For example:
geouplookup6 2001:4860:0:1001::68
geoiplookup6 ipv6.google.com
will find the Country that 2001:4860:0:1001::68 originates from, in the following format:
US, United States
OPTIONS
-f Specify a custom path to a single GeoIP datafile.
-d Specify a custom directory containing GeoIP datafile(s). By default geouplookup6 looks in /usr/share/GeoIP
-v Lists the date and build number for the GeoIP datafile(s).
AUTHOR
Written by T.J. Mather
REPORTING BUGS
Report bugs to <support@maxmind.com>
COPYRIGHT
Copyright (C) 2008 MaxMind LLC
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICU-
LAR PURPOSE.
SEE ALSO
geoipupdate(1), nslookup(1).
4th Berkeley Distribution 28 Oct 2008 GEOIPLOOKUP6(1)