08-30-2010
This looks good. It still picks up the /QSYS.LIB, but it does get all 4 files owned by this user. Thats exactly what I need.
find / -user test001 -o -type d -name QSYS.LIB -prune /QSYS.LIB
/SNEGRON/CBNACWP.TXT
/SNEGRON/special990.txt
/SNEGRON/pgm1.txt
/test06
Thanks for your help.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Is there a command or shell script which can be used for Finding all files created by a specified userid in a directory and its subdirectories.
Say, I want to find all such files in directory /abc as well as in all the subdirectories such as /abc/xyz or /abc/xyz/pqr aqnd so on which was created... (5 Replies)
Discussion started by: abhilashnair
5 Replies
2. UNIX for Advanced & Expert Users
Hi
I have some 5 folders and two files in the current directory.
I want to delete all, expect one folder(files in the folder too should not be deleted) and a file in the current directory. Lets say the folder and file that should not be deleted as 'a'(folder name) and 'b'(file name). Can you... (1 Reply)
Discussion started by: ammu
1 Replies
3. UNIX for Dummies Questions & Answers
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
4. UNIX for Dummies Questions & Answers
Hi,
I have a directory structure as below
/home/gad/Merl/a/a1.txt
/home/gad/Merl/b/a1.txt
/home/gad/Merl/c/a1.txt
How can I find the file a1.txt but not from directory 'a' and it(the filw) should loaded 6 days ago..
Can any one pls help,quick reply much appriciated..
Thanks. (1 Reply)
Discussion started by: jagadish_gaddam
1 Replies
5. Shell Programming and Scripting
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
6. 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
7. UNIX for Advanced & Expert Users
Find all files in the current directory only excluding hidden directories and files.
For the below command, though it's not deleting hidden files.. it is traversing through the hidden directories and listing normal which should be avoided.
`find . \( ! -name ".*" -prune \) -mtime +${n_days}... (7 Replies)
Discussion started by: ksailesh1
7 Replies
8. Shell Programming and Scripting
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
9. Shell Programming and Scripting
Hii,
Could someone help me to append string to the starting of all the filenames inside a directory but it should exclude .zip files and subdirectories.
Eg.
file1: test1.log
file2: test2.log
file3 test.zip
After running the script
file1: string_test1.log
file2: string_test2.log
file3:... (4 Replies)
Discussion started by: Ravi Kishore
4 Replies
10. UNIX for Beginners Questions & Answers
Hi,
I have an inquiry on how do I use the find command in Solaris Unix to find some file ends with extension : txt, err in the root directory with modified date of 30days and this find command will also need to exclude b directory and its subdirectory. All the files from the above find criteria... (5 Replies)
Discussion started by: snowfrost88
5 Replies
LEARN ABOUT SUSE
gcj-dbtool
GCJ-DBTOOL(1) GNU GCJ-DBTOOL(1)
NAME
gcj-dbtool - Manipulate class file mapping databases for libgcj
SYNOPSIS
gcj-dbtool OPTION DBFILE [MORE] ...
gcj-dbtool [-0] [-] [-n] [-a] [-f]
[-t] [-l] [-p [LIBDIR]]
[-v] [-m] [--version] [--help]
DESCRIPTION
"gcj-dbtool" is a tool for creating and manipulating class file mapping databases. "libgcj" can use these databases to find a shared
library corresponding to the bytecode representation of a class. This functionality is useful for ahead-of-time compilation of a program
that has no knowledge of "gcj".
"gcj-dbtool" works best if all the jar files added to it are compiled using "-findirect-dispatch".
Note that "gcj-dbtool" is currently available as "preview technology". We believe it is a reasonable way to allow application-transparent
ahead-of-time compilation, but this is an unexplored area. We welcome your comments.
OPTIONS
-n DBFILE [SIZE]
This creates a new database. Currently, databases cannot be resized; you can choose a larger initial size if desired. The default
size is 32,749.
-a DBFILE JARFILE LIB
-f DBFILE JARFILE LIB
This adds a jar file to the database. For each class file in the jar, a cryptographic signature of the bytecode representation of the
class is recorded in the database. At runtime, a class is looked up by its signature and the compiled form of the class is looked for
in the corresponding shared library. The -a option will verify that LIB exists before adding it to the database; -f skips this check.
[-][-0] -m DBFILE DBFILE,[DBFILE]
Merge a number of databases. The output database overwrites any existing database. To add databases into an existing database,
include the destination in the list of sources.
If - or -0 are used, the list of files to read is taken from standard input instead of the command line. For -0, Input filenames are
terminated by a null character instead of by whitespace. Useful when arguments might contain white space. The GNU find -print0 option
produces input suitable for this mode.
-t DBFILE
Test a database.
-l DBFILE
List the contents of a database.
-p Print the name of the default database. If there is no default database, this prints a blank line. If LIBDIR is specified, use it
instead of the default library directory component of the database name.
--help
Print a help message, then exit.
--version
-v Print version information, then exit.
SEE ALSO
gcc(1), gcj(1), gcjh(1), jcf-dump(1), gfdl(7), and the Info entries for gcj and gcc.
COPYRIGHT
Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or
any later version published by the Free Software Foundation; with no Invariant Sections, the Front-Cover Texts being (a) (see below), and
with the Back-Cover Texts being (b) (see below). A copy of the license is included in the man page gfdl(7).
(a) The FSF's Front-Cover Text is:
A GNU Manual
(b) The FSF's Back-Cover Text is:
You have freedom to copy and modify this GNU Manual, like GNU
software. Copies published by the Free Software Foundation raise
funds for GNU development.
gcc-4.5 2010-07-05 GCJ-DBTOOL(1)