09-08-2012
Why not use the
-name primary to
find?
Check
man find.
Last edited by elixir_sinari; 09-08-2012 at 03:38 AM..
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
In a CSH, i need to write a loop to seach continuously for text "Started" and then only exit from the loop when ever if finds that.
Can someone please suggest how we can write this
Thanks,
Sateesh (3 Replies)
Discussion started by: kotasateesh
3 Replies
2. UNIX for Advanced & Expert Users
Hey Guyz I have a requirement something like this..
a part of file name, date of modification of that file and a text is entered as input.
like
Date : 080206 (MMDDYY format.)
filename : hotel_rates
text : Jim
now the file hotel_rates.ZZZ.123 (creation date is Aug 02 2006) should be... (10 Replies)
Discussion started by: rosh0623
10 Replies
3. UNIX for Dummies Questions & Answers
i need help with my script....
i am suppose to grab files within a certain date range
now i have done that already using the touch and find command (found them in other threads)
touch -d "$date_start" ./tmp1
touch -d "$date_end" ./tmp2
find "$data_location" -maxdepth 1 -newer ./tmp1 !... (6 Replies)
Discussion started by: deking
6 Replies
4. Shell Programming and Scripting
Hi
i am having a group of *.csh files under parent directory. Now i want to search a particular pattern in these group of *.csh files(suppose i need to search a pattern ABC - proj ). Can anyone please tell me how to do it using find command.
Thanks in advance
sarbjit (4 Replies)
Discussion started by: sarbjit
4 Replies
5. Shell Programming and Scripting
Hi.
I would like to have experts help on below action.
I have text files in which page nubmers exists in form like
PAGE : 1
PAGE : 2
PAGE : 3 and so on there is other text too. I would like to know is it possible to check the last occurance of Page... (6 Replies)
Discussion started by: lodhi1978
6 Replies
6. Shell Programming and Scripting
The requirement here is i'm searching for a particular word from the log file between two time stamp.
The process for particular account will happen, so i need to see there is any error occurred in between before it completes. in the below code yyyyy and xxxxx are two unique fields. initially... (1 Reply)
Discussion started by: Amutha
1 Replies
7. Shell Programming and Scripting
Hi Forum,
I am using the below command to find files older than x days in a directory excluding subdirectories. From the previous forums I got to know that prune command helps us not to descend in subdirectories. Though I am using it here, not getting the desired result.
cd $dir... (8 Replies)
Discussion started by: jhilmil
8 Replies
8. Shell Programming and Scripting
Hello All,
Can someone please help me out in creating the find command to search and delete files older than 1 days at a desired location.
Thanks in advance for your help. (3 Replies)
Discussion started by: Pandee
3 Replies
9. UNIX for Dummies Questions & Answers
Hello all,
this is my first and probably not my last question around here. I do hope you can help or at least point me in the right direction.
My question is as follows, I need to find files and possible folders which are not owner = AAA group = BBB with a said location and all sub folders ... (7 Replies)
Discussion started by: kilobyter
7 Replies
10. Shell Programming and Scripting
I am working on a script to search for text.
read -p "Enter text to search for : " n1
grep $n1 /home/andy/bin/*.sh
It works, but if I backspace, it does this.
Enter text to search for : sset Master^
------ Post updated at 12:39 PM ------
My mistake is I used the left arrow key... (4 Replies)
Discussion started by: drew77
4 Replies
LEARN ABOUT DEBIAN
pacparser_just_find_proxy
pacparser_just_find_proxy(3) Library Functions Manual pacparser_just_find_proxy(3)
NAME
pacparser_just_find_proxy - Finds proxy for a given PAC file, url and host.
SYNOPSIS
#include <pacparser.h>
char *pacparser_just_find_proxy
(
const char *pacfile,
const char *url,
const char *host
);
PARAMETERS
const char *pacfile
PAC file.
const char *url
URL to find proxy for.
const char *host
Host part of the URL.
DESCRIPTION
This function is a wrapper around functions pacparser_init, pacparser_parse_pac_file, pacparser_find_proxy and pacparser_cleanup. If you
just want to find out proxy a given set of pac file, url and host, this is the function to call. This function takes care of all the ini-
tialization and cleanup.
RETURNS
Proxy string on success and NULL on error.
SEE ALSO
pacparser_version(3), pacparser_init(3), pacparser_parse_pac_file(3), pacparser_parse_pac_string(3), pacparser_parse_pac(3), pac-
parser_find_proxy(3), pacparser_cleanup(3), pacparser_setmyip(3), pacparser_enable_microsoft_extensions(3)
c2man pacparser.h 14 March 2011 pacparser_just_find_proxy(3)