Using Solaris 8, I've forgotten how to exclude the current directory in the find results.
find . -type d ! -name "*.CAP"
I want every directory that does not match the *.CAP pattern, except the current directory. (2 Replies)
Hi,
By default FIND command searches for matching files in all the subdirectories within the specified path.
Is there a way to restrict FIND command's search path to only the specified directory and NOT TO scan its subdirectories.
Any help would be more than appreciated.
Thanks and Regards (2 Replies)
Hello,
I just want to ask the following use of find command:
1. how can I find files only to the current directory?
2. how can I find files to directories and all subdiretories (are this include soft links?) but will not go to other mountpoints that is under that mountpoint.
Im combining... (1 Reply)
Hi every1,
There is a folder with .lst files which has email id's of our project group.
I want to find files which has my email id starting with sachin but i dont want find command to search subdirectories. I have read about prune but i didnt understand that. I am pretty new in this field.... (7 Replies)
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)
I am using the following command in a C shell script:
find . -name "*.*" -print | zip $ProjectZipFile -@
to zip files in a Unix (Sun and/or Linux) directory for archiving purposes. This command works fine, the only problem being that if sub-directories are present, they are included in... (5 Replies)
i have this find command on my script as:
for i in `find $vdir -name "$vfile" -mtime +$pday`
the problem with this code is that the sub-directories are included on the search. how do i restrict the search to confine only on the current directory and ignore the sub-directories. please advise.... (7 Replies)
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
Write a C program to search the current directory for all pipes.
1. It will print the pipe... (2 Replies)
hello, all
I have googled internet, read the man page of Find, searched this forum, but still could not figure out how.
My current directory is:
little@wenwen:~$ pwd
/home/little
little@wenwen:~$
I want to use find command to list the files in my current directory, how should i write... (3 Replies)
Hello.
I want to find a line that has "new = 0" in it, then search back based on field $4 () in the current line, and find the first line that has field $4 and "last fetch"
Grep or Awk preferred.
Here is what the data looks like:
2013-12-12 12:10:30,117 TRACE last fetch: Thu Dec 12... (7 Replies)
Discussion started by: JimBurns
7 Replies
LEARN ABOUT OSX
map_slippy_fetcher
map::slippy::fetcher(n) Mapping utilities map::slippy::fetcher(n)
__________________________________________________________________________________________________________________________________________________NAME
map::slippy::fetcher - Accessing a server providing tiles for slippy-based maps
SYNOPSIS
package require Tcl 8.4
package require Tk 8.4
package require img::png
package require map::slippy
package require map::slippy::fetcher ?0.2?
::map::slippy::fetcher fetcherName levels url
fetcherName levels
fetcherName tileheight
fetcherName tilewidth
fetcherName get tile donecmd
_________________________________________________________________DESCRIPTION
This package provides a class for accessing http servers providing tiles for slippy-based maps.
API
::map::slippy::fetcher fetcherName levels url
Creates the fetcher fetcherName and configures it with the number of zoom levels supported by the tile server, and the url it is
listening on for tile requests.
The result of the command is fetcherName.
METHODS
fetcherName levels
This method returns the number of zoom levels supported by the fetcher object, and the tile server it is accessing.
fetcherName tileheight
This method returns the height of tiles served, in pixels.
fetcherName tilewidth
This method returns the width of tiles served, in pixels.
fetcherName get tile donecmd
This is the main method of the fetcher, retrieving the image for the specified tile. The tile identifier is a list containing three
elements, the zoom level, row, and column number of the tile, in this order.
The command refix donecmd will be invoked when the fetcher either knows the image for the tile or that no image will forthcoming.
It will be invoked with either 2 or 3 arguments, i.e.
[1] The string set, the tile, and the image.
[2] The string unset, and the tile.
These two possibilities are used to either signal the image for the tile, or that the tile has no image defined for it.
REFERENCES
[1] http://wiki.openstreetmap.org/wiki/Main_Page
KEYWORDS
http, location, map, server, slippy, tile, url, zoom
map 0.2 map::slippy::fetcher(n)