Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Find all files created by a specified user in a directory and its subdirectories Post 302121284 by abhilashnair on Wednesday 13th of June 2007 02:37:00 AM
Old 06-13-2007
The actual command is the one which is given above. I just substituted the directory and user id

Also when the error is thrown....the actual filename is shown....obviously....but I cant mention it here
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Shell:Find a word in files in a directory and subdirectories

I'm looking to write a ksh code with will be alble to find a word like 'toto' in all files going from my current directory. eg. /doc ----------->have: text.c which "toto" /doc/usr-------->have: build.pc, help.java which "toto" /doc/usr/cach -->have: test.sh which "toto" /doc/build... (4 Replies)
Discussion started by: yeclota
4 Replies

2. UNIX for Dummies Questions & Answers

Find Files in a Directory Excluding Subdirectories

Hi, I have a filename Location.txt in a directory /abc. Similar name file is present in its subdirectory /abc/xyz. I want to find the file which is present only in /abc and not in /abc/xyz. Please any1 of u can provide a quick suggestion. Its very urgent. Thanks, Amol (2 Replies)
Discussion started by: Amol_Dicholkar
2 Replies

3. Shell Programming and Scripting

to parse a directory and its subdirectories and find owner name of files

hi all, i need to capture all the files in a directory and its subdirectories that have owner name different than the root owner. for one file it is " stat -c %U filename " but i need to search for each and every file and record it. thanks in advance (14 Replies)
Discussion started by: vyasa
14 Replies

4. Shell Programming and Scripting

Find directory name while traversing subdirectories

Hi, I have a parent directory in which I have sub directories of different depth /usr/usr1/user2/671 /usr/usr1/672 /usr/user2/user1/673 /usr/user2/user3/user4/674 And I need the names of all the directories that which starts only with 6 in a file. Thanks, (12 Replies)
Discussion started by: arun_maffy
12 Replies

5. Shell Programming and Scripting

Find all files for a user, excluding a directory

I have been searching, and cannot find an answer for this. I am trying to find all files for a user, lets call him (test001), and I want to exclude a specific directory. Here is the command I run, it finds all files: find / -user test001 I get this result: > find / -user test001 ... (4 Replies)
Discussion started by: steve2x4
4 Replies

6. Shell Programming and Scripting

Find files only in current directory...not subdirectories

Hi, I have to find files only in the current directory...not in the sub directories. But when I use Find command ... it searches all the files in the current directory as well as in the subdirectories. I am using AIX-UNIX machine.Please help..I tried to use maxdepth..but it is not working in AIX. (2 Replies)
Discussion started by: vsachan
2 Replies

7. Shell Programming and Scripting

Find ordinary files in directory input by user

I need to make a shell script that accepts a directory input by the user. The program searches for the directory and finds if it exists or not. Then if it does exist, it outputs the number of files within that directory. Here's what I have so far. result= echo "Please input a directory:... (5 Replies)
Discussion started by: itech4814
5 Replies

8. Shell Programming and Scripting

How to find files created today in a particular directory?

Dear All, I want a Hp Ux command to find out the files created today in a particular directory or mountpoint. Kindly help. Thanks Bhaskar (10 Replies)
Discussion started by: sudiptabhaskar
10 Replies

9. Shell Programming and Scripting

Find command to search files in a directory excluding subdirectories

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

10. Shell Programming and Scripting

Find/searching files in subdirectories excluding the fiels in Parent Directory

Hi All, requirement is to find and remove the files from sub directories but it should exclude the files from parent directory. At present i am using the below one but it finds and remove files from both parent and sub directories. find ${PATH} -type f \( -name securitas\* -o -name \*gz... (1 Reply)
Discussion started by: Naveenkk
1 Replies
canvas::sqmap(n)					      Variations on a canvas						  canvas::sqmap(n)

__________________________________________________________________________________________________________________________________________________

NAME
canvas::sqmap - Canvas with map background based on square tiles SYNOPSIS
package require Tcl 8.4 package require Tk 8.4 package require snit package require uevent::onidle package require cache::async package require canvas::sqmap ?0.3.1? ::canvas::sqmap pathName ?options? canvasName image set cell image canvasName image unset cell canvasName flush _________________________________________________________________ DESCRIPTION
This package provides an extended canvas widget for the display of maps based on a set of square image tiles. The tiles are the background of the canvas, with all other canvas items added always shown in front of them. The number of tiles shown, tile size, and where to get the images to show are all configurable. API
::canvas::sqmap pathName ?options? Creates the canvas pathName and configures it. The new widget supports all of the options and methods of a regular canvas, plus the options and methods described below. The result of the command is pathName. OPTIONS -grid-cell-width The value for this option is a non-negative integer. It specifies the width of the cells the background is made up of. -grid-cell-height The value for this option is a non-negative integer. It specifies the height of the cells the background is made up of. -grid-cell-command The value for this option is a command prefix. It is invoked whenever the canvas needs the image for a specific cell of the back- ground, with two additional arguments, the id of the cell, and a command prefix to invoke when the image is ready, or known to not exist. The id of the cell is a 2-element list containing the row and column number of the cell, in this order. The result command prefix (named "$result" in the example below) has to be invoked with either two or three arguments, i.e. $result set $cellid $image ; # image is known and ready $result unset $cellid ; # image does not exist This option may be left undefined, i.e. the canvas can operate without it. In that case the only images shown in grid cells are those explicitly set with the method image set, see the next section. All other grid cells will simply be empty. -viewport-command This option specifies a command prefix to invoke when the viewport of the canvas is changed, to allow users keep track of where in the scroll-region we are at all times. This can be used, for example, to drive derivate displays, or to keep items in view by moving them as the viewport moves. -image-on-load The value for this option is an image. If specified the image is shown in a cell while the actual image for that cell is getting loaded through the callback specified by the -grid-cell-command. -image-on-unset The value for this option is an image. If specified the image is shown in a cell for which the callback specified by the -grid-cell- command reported that there is no actual image to be shown. METHODS canvasName image set cell image Invoking this method places the image into the specified cell of the background. The cell is given as a 2-element list containing row and column number, in this order. Note that an image is allowed to be associated with and displayed in multiple cells of the canvas. canvasName image unset cell Invoking this method declares the specified cell of the background as empty, an existing image shown by this cell will be forgotten. The cell is given as a 2-element list containing row and column number, in this order. canvasName flush Invoking this method forces the canvas to completely reload the images for all cells. Do not use this method if the canvas is oper- ated without a -grid-cell-command, as in that case the canvas will simply forget all images without being able to reload them. IMAGE OWNERSHIP
Note that the canvas does not take ownership of the images it shows in the background. In other words, when we say that the canvas forgets an image this means only that the association between a grid cell and shown image is broken. The image is not deleted. Managing the lifecy- cle of the images shown by the canvas is responsibility of the user of the canvas. KEYWORDS
canvas, cell, grid, image, map, square map, tile canvas 0.3.1 canvas::sqmap(n)
All times are GMT -4. The time now is 06:50 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy