Hi all and thank you for your valuable suggestions. I learned quite a bit.
I played around and made some changes in the search routine to check if dir is empty or not and used the following in my code and it is working as I liked:
Once I am done testing I will add the -mtime option in my search feature as suggested.
Hi,
i wan to search the file starting with Admin into the directory Output. I am running below command:
find /appl/Output -name "Admin*" -prune
but this command is going into the sub directories present under output. I do not want to search under sub directories. Any help will be highly... (6 Replies)
i have a list of files below:
rwxrwxrwx 1 pipe pipe 180 Mar 4 22:47 del_0n_Date
-rwxrwxrwx 1 pipe pipe 472 Mar 4 22:58 mail_Check
-rw-r--r-- 1 pipe pipe 92 Mar 4 22:58 minfo.txt
-rwxrwxrwx 1 pipe pipe 609 Mar 5 05:12... (6 Replies)
In shell we can find the status of last executed command by $?
In perl what is the command to find the status of last executed command...
Can any one please say???????????????
Thanks,
Prabhu (1 Reply)
I am trying to copy 2 types of files so I can archive them. I tested with a set of commands:
touch -t $(date -d "-60 day" +%Y%m%d) WORKDIR/REF
find TARGETDIR/ -type f -maxdepth 1 -iname \*.out\* -or -iname \*.log\* ! -newer WORKDIR/REF -exec ls -l {} \;
This correctly lists any files in the... (2 Replies)
Hi All,
My target is to find the biggest files opened by any process and from that i have to find process id and the corresponding file also to avoid file system being hung-up.
Finding the process id: is to kill the process
Finding the biggest file: is to remove the file
To get the process... (0 Replies)
/usr/bin/find $SEARCH_DIR -daystart \( \( -name 'KI*' -a -name '*.csv' \) -o -name '*_xyz_*' \) -mtime $DAYS_AGO -printf %f -printf "\n" | sort -r > $FILES
The above command gives different results when run on a cron job. When run manually the result is accurate. (2 Replies)
Hello,
I'm having a trouble with the find cmd.
I would like to find all the java versions on my systems.
I have solaris 9 & 10 RHEL and SUSIE.
java -version
doesn't give all the versions on the server.
So I am trying to use the find command to find them all
find / -name java
I would... (7 Replies)
Hi. Can somebody tell me if there's a way of creating a symbolic link from a directory on one filesystem to that on another that will allow a find command that doesn't use the -L param to locate a particular file under that new 'linked' dir. With a normal sym link the find command on that... (6 Replies)
Discussion started by: user052009
6 Replies
LEARN ABOUT DEBIAN
kadu-config
KADU(1) General Commands Manual KADU(1)NAME
kadu-config - script to get information about the installed version of kadu
SYNOPSIS
kadu-config [--prefix[=DIR]] [--exec-prefix[=DIR]] [--version] [--libs] [--cflags] [--data-dir] [--modules-dir] [--qt-moc-dir]
DESCRIPTION
kadu-config is a tool for retrieving the library/include paths kadu was compiled with. Useful for folks compiling their own Kadu modules
outside the main source tree.
kadu-config is based on xmms-config from the XMMS package.
OPTIONS
kadu-config accepts the following options:
--prefix[=DIR]
If specified, use DIR instead of the installation prefix that kadu was built with when computing the output for the --cflags and
--libs options. This option is also used for the exec prefix if --exec-prefix was not specified. This option must be specified
before any --libs or --cflags options.
--exec-prefix[=DIR]
If specified, use DIR instead of the installation exec prefix that kadu was built with when computing the output for the --cflags
and --libs options. This option must be specified before any --libs or --cflags options.
--version
Print the currently installed version of kadu on the standard output.
--libs Print the linker flags that are necessary to link kadu to a program.
--cflags
Print the compiler flags that are necessary to compile a program that uses kadu.
--data-dir
Print the directory that the kadu's icons, emoticons and sounds themes are installed in.
--modules-dir
Print the directory that the kadu's modules keep their description and data files.
--qt-moc-dir
Print the directory that the Qt's moc compiler is installed in.
AUTHOR
kadu was written by Kadu Team (see /usr/share/kadu/doc/AUTHORS file for details).
Copyright (C) 2007, 2008 Patryk Cisek <patryk@debian.org>
This manual page was written by Patryk Cisek <patryk@debian.org> for the Debian project, based heavily on the xmms-config manual by
Christopher Martin <chrsmrtn@debian.org> and may be used by others. This manual may be distributed under the terms of GPL license version
2, or (at your opinion) any later version. On Debian GNU/Linux system, the complete text of the GNU General Public License can be found in
`/usr/share/common-licenses/GPL'. If you're not using Debian, you may also find full text of the license at http://www.gnu.org/licenses/.
KADU(1)