Sponsored Content
Top Forums UNIX for Advanced & Expert Users Recursive search for filenames containing .. Post 302577938 by CarloM on Wednesday 30th of November 2011 09:59:21 AM
Old 11-30-2011
find /wherever -name "*..*" -print?
 

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

non recursive search in the current directory only

Hi, Am trying for a script which should delete more than 15 days older files in my current directory.Am using the below piece of code: "find /tmp -type f -name "pattern" -mtime +15 -exec /usr/bin/ls -altr {} \;" "find /tmp -type f -name "pattern" -mtime +15 -exec /usr/bin/rm -f {} \;" ... (9 Replies)
Discussion started by: puppala
9 Replies

2. UNIX for Dummies Questions & Answers

recursive search and ftp

Could someone help me in recursive search and ftp'ing the files to remote server? The host machine will have /dir1/dira/list_of_files1 /dir1/dirb/list_of_files2 /dir1/dirc/list_of_files3 . . . so., I need to search from dir1 recursively (only one level down) and find all the files that... (1 Reply)
Discussion started by: brahmi
1 Replies

3. UNIX for Advanced & Expert Users

Recursive directory search using ls instead of find

I was working on a shell script and found that the find command took too long, especially when I had to execute it multiple times. After some thought and research I came up with two functions. fileScan() filescan will cd into a directory and perform any operations you would like from within... (8 Replies)
Discussion started by: newreverie
8 Replies

4. Shell Programming and Scripting

recursive search and copy

Hello again. Well, I need help again sooner as I thought. Now I want to search for files with a known name within all subdirs, and copy the to differently named files in the same directory. For example if I had only one file to copy, I would just usecp fileName newFileNamebut to do this... (1 Reply)
Discussion started by: cabaciucia
1 Replies

5. Shell Programming and Scripting

Recursive search on pattern between two strings

Objective: Recursively search all files under a directory for SQL statements that end with ";" Sample input: UPDATE table1 set col=val UPDATE table2 set cola=vala ,colb=valb; UPDATE table3 set col=val Expected output: UPDATE table2 set cola=vala ,colb=valb; (1 Reply)
Discussion started by: krishmaths
1 Replies

6. UNIX for Dummies Questions & Answers

Help needed - find command for recursive search

Hi All I have a requirement to find the file that are most latest to be modified in each directory. Can somebody help with the command please? E.g of the problem. The directory A is having sub directory which are having subdirectory an so on. I need a command which will find the... (2 Replies)
Discussion started by: sudeep.id
2 Replies

7. Shell Programming and Scripting

Recursive replacement of search string using sed

Dear Unix Forum Group Members, Please do let me know how I can replace the double pipe with single pipe recursively on single record. Sample Input Data: DN set|Call prefix||| Called number address nature 0||| *789|||||||ALL number types 0||| 00||||||||ALL number types 10||... (5 Replies)
Discussion started by: srinu.kadem
5 Replies

8. Shell Programming and Scripting

Recursive folder search faster than find?

I'm trying to find folders created by a propritary data aquisition software with the .aps ending--yes, I have never encountered folder with a suffix before (some files also end in .aps) and sort them by date. I need the whole path ls -dt "$dataDir"*".aps"does exactly what I want except for the... (2 Replies)
Discussion started by: Michael Stora
2 Replies

9. OS X (Apple)

Search recursive

before posting, I have tried to find my answer elsewhere. no luck. I need to find a file buried in a folder somewhere. Master folder has 10 sub folders. each sub folder has folders too. I found this but it does nothing I am on Mac and use Applescript. do shell script "find... (2 Replies)
Discussion started by: sbrady
2 Replies
GO500GW(8C)															       GO500GW(8C)

NAME
go500gw - General Gopher to X.500 gateway for browsing and searching SYNOPSIS
/usr/sbin/go500gw [-a] [-d level] [-f filterfile] [-t templatefile] [-c rdncount] [-h helpfile] [-l] [-p listenport] [-P ldapport] [-x ldaphost] [-I] DESCRIPTION
go500gw is the general gopher to X.500 browsing and search gateway daemon. It speaks gopher on one side and X.500 (via LDAP) on the other. It presents the X.500 DIT as a tree of menus, search items, and documents in gopher space, supporting both browsing and searching of X.500 via a gopher client. By default, it listens on port 7777 for connections from gopher clients. The go500gw server can be run either from inetd(8) or as stand-alone server. STAND-ALONE OPERATION To start go500gw as a stand-alone server, simply start it with no arguments /usr/sbin/go500gw If you would like to start it at boot time add some lines like this to the /etc/rc.local(5) or equivalent file: if [ -f /usr/sbin/go500gw ]; then /usr/sbin/go500gw; echo ' go500gw' fi OPERATION WITH INETD
To arrange to have go500gw started from inetd(8),theInternetprotocol daemon, add a line like the following to your /etc/services(5) file, or the equivalent: go500gw 7777/tcp go500gw Next, add a line like this to your /etc/inetd.conf(5) file, or the equivalent: go500gw stream tcp nowait nobody /usr/sbin/go500gw go500gw -I For these changes to take effect with inetd, you will probably have to send it it a HUP signal. See inetd(8) for more details. GOPHER CONFIGURATION
The next step is to configure your local gopher server to have an entry for go500gw. With the standard unix gopher server, this can be done with a .link file. A sample .link file is given below, with the things you should change given in <>'s: Name=<Label of your choice> Type=1 Port=7777 Path=1<optional RFC 2253-format DN at which to start browsing> Host=<host.running.go500gw.here> You may also have to restart your gopher daemon, or remove the .cache file. OPTIONS
-a Search aliases when doing LDAP searches. The default is not to search aliases. -d level Turn on debugging as defined by level. If this option is specified, go500gw will not fork or disassociate from the invoking termi- nal. Some general operation and status messages are printed for any value of level. level is taken as a bit string, with each bit corresponding to a different kind of debugging information. -f filterfile Specify an alternate filter configuration file for use with the ldap_getfilter(3) facility, used by go500gw. -h helpfile Specify an alternate help file. The help file is what is displayed in the "About the Gopher to X.500 Gateway" menu item. -l Enable logging of various status and errors to the LOG_DAEMON facility via syslog(8). -p listenport Specify an alternate port on which to listen for connections. -P ldapport Specify an alternate port on which to contact the LDAP server. -t templatefile Specify an alternate template configuration file for use with the ldap_init_templates(3) facility, used by go500gw . -c rdncount Specify the number of DN components to show for the names and DN attributes within entries matching the search. -x hostname Specify an alternate host on which the ldap server is running. -I Run from inetd(8). NOTES
Some implementations of inetd have a small limit on the number of arguments that can be specified in the /etc/inetd.conf(5) file. This can cause problems if you are using go500gw with a lot of arguments. The default values for most of the things you can specify with options are configured at compile time in the include/ldapconfig.h.edit include file. SEE ALSO
ldap(3), ldap_getfilter(3), inetd(8), gopherd(8), go500(8) ACKNOWLEDGEMENTS
OpenLDAP is developed and maintained by The OpenLDAP Project (http://www.openldap.org/). OpenLDAP is derived from University of Michigan LDAP 3.3 Release. OpenLDAP 2.0.27-Release 20 August 2000 GO500GW(8C)
All times are GMT -4. The time now is 04:29 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy