Sponsored Content
Top Forums UNIX for Dummies Questions & Answers I want alternative of -maxdepth 1 for all Linux,Solaris and AIX Post 302745005 by Peasant on Sunday 16th of December 2012 08:34:47 AM
Old 12-16-2012
You can introduce a variable and just sed the result like :
Code:
DIR=/var/tmp/test
cd $DIR && find .  \(  -name . -o -prune \) -name "*properties" -type f -exec ls -l {} \; -exec cksum {} \; | sed "s#./#$DIR/#"

This User Gave Thanks to Peasant For This Post:
 

6 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Major differences between AIX, Solaris, HP-UX, Linux

Hi All, I want to know the OS level differences between AIX, Solaris, HP-UX, Linux Apart from the vendor, H/w and command differences, any other significant points. regards, guru Charan (9 Replies)
Discussion started by: gurukottur
9 Replies

2. AIX

AIX on an alternative system

My greeting to all the readers I have an AIX 5.3 version. I want to study this operation system. Unfortunately I don't have an IBM p Series system. Is there a way to install AIX on vmware or something similar? May be I have an old IBM Netfinity Server, will AIX run on this system? Thanks for... (5 Replies)
Discussion started by: analyzer
5 Replies

3. UNIX for Dummies Questions & Answers

Solaris find without maxdepth

Hi, I am using Solaris 5.8 I searched online, the find command has an option called maxdepth which can be used to limit the number of directories find will look into. find . -maxdepth 2 -type f When I run the above command in solaris, I get an error find: bad option -maxdepth find:... (2 Replies)
Discussion started by: Leion
2 Replies

4. AIX

maxdepth in avaible for AIX?

Hi, I'm trying to do a search in a directory on AIX and I was wondering if there's an equivelant option to the -maxdepth option to tell how far down to search. I ran this but I just want to make sure it's actually searching everything: find ./* -type f -name "090817*" -exec ls -l {} \; (1 Reply)
Discussion started by: bbbngowc
1 Replies

5. Solaris

Patch management (Solaris, AIX , Linux )

Hi Guys, I am doing L1 Level support for Solaris Platform. Eg. User Management, File system , Print management and Job monitoring. I recently completer my IBM Aix 7 Administration certification. Issue is that my manager is asking me do full time unix / linux patch management work for new... (5 Replies)
Discussion started by: Nats
5 Replies

6. Shell Programming and Scripting

Maxdepth command not working in AIX.Need alternative solution for this command

Hi All, I am trying to select 30 days older files under current directory ,but not from subdirectory using below command. find <Dir> -type f -mtime + 30 This command selecting all the files from current directory and also from sub directory . I read some documention through internet ,... (1 Reply)
Discussion started by: kommineni
1 Replies
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)
All times are GMT -4. The time now is 12:01 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy