09-22-2008
Using find on solaris
Hello,
I have searched the forum but I can't find any compliant answer to my problem.
I have to list all directories on a filesystem on a solaris 5.9 up to 4th level, but it seems there's no -level or -maxdepth option.
I tried to xargs or -exec the result of the find command by testing the NF (number of fields variable) with "/" separator, but I didn't get a correct result.
Please can you help me ?
Thank tou
Dave
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi folks,
I am DBA who needs some help with find command. We have a directory with files dated from January 1, 2001. Several files are created each day. We probably have several hundred files. I want to delete all files OLDER than 90 days (I want to keep files that are 90 days before today &... (3 Replies)
Discussion started by: srolen
3 Replies
2. Solaris
Hello , our installation disk is corrupted
where i can find Solaris 9 installation on the web?
thanks (1 Reply)
Discussion started by: umen
1 Replies
3. UNIX for Dummies Questions & Answers
Hi,
How do I find what version of solaris my Sparc system is running(32 bit or 64 bit). Can a 64 bit sparc run 32 bit solaris?
Please let me know
Thanks (1 Reply)
Discussion started by: 0ktalmagik
1 Replies
4. Solaris
I'm running Sun OS 5.9 and I need to find a place that has a precompiled version of the make command (I have no way of compiling software) and I would like to find a decent software repository, binaries are preferred but well maintained and easy to assemble (isn't lacking half a dozen dependencies... (7 Replies)
Discussion started by: tech53
7 Replies
5. Programming
Hi experts,
How do I find if a C compiler is installed on Solaris ?
> cc -o
ksh: cc: not found
> CC
ksh: CC: not found
> gcc
ksh: gcc: not found
I am using Solaris 5.8
Thanks,
Sameer. (1 Reply)
Discussion started by: ensameer
1 Replies
6. UNIX for Dummies Questions & Answers
Hi
I wish to find only files in dir /srv/container/content/imz06/. It means exclude subfolder /srv/container/content/imz06/archive/
> uname -a
SunOS testbox6 5.10 Generic_139555-08 sun4v sparc SUNW,Sun-Blade-T6320Its Solaris default "find"
> find /srv/container/content/imz06/* -name... (4 Replies)
Discussion started by: slashdotweenie
4 Replies
7. Solaris
Hello,
I am running some performance based tests on Solaris, and I was wondering how fast the "seeking" rate of Solaris is, or how fast Solaris can get information about files with the "find" command. Does anyone know what 'find' command I could run to traverse through my system to see the rate... (1 Reply)
Discussion started by: bstring
1 Replies
8. Solaris
Hi All,
I want to find MQ details on a solaris 5.8 server , does anyone knows the
command to findout the details
I have used below command to find the following o/p
command
pkginfo | grep -i mq
o/p
application mqm WebSphere MQ for Sun Solaris
application... (4 Replies)
Discussion started by: Jcpratap
4 Replies
LEARN ABOUT SUSE
sane-ricoh
sane-ricoh(5) SANE Scanner Access Now Easy sane-ricoh(5)
NAME
sane-ricoh - SANE backend for Ricoh flatbed scanners
DESCRIPTION
The sane-ricoh library implements a SANE (Scanner Access Now Easy) backend that provides access to the following Ricoh flatbed scanners:
IS50
IS60
DEVICE NAMES
This backend expects device names of the form:
special
Where special is the path-name for the special device that corresponds to a SCSI scanner. The special device name must be a generic SCSI
device or a symlink to such a device. The program sane-find-scanner helps to find out the correct device. Under Linux, such a device name
could be /dev/sga or /dev/sge, for example. See sane-scsi(5) for details.
FILES
/etc/sane.d/ricoh.conf
The backend configuration file (see also description of SANE_CONFIG_DIR below).
/usr/lib64/sane/libsane-ricoh.a
The static library implementing this backend.
/usr/lib64/sane/libsane-ricoh.so
The shared library implementing this backend (present on systems that support dynamic loading).
ENVIRONMENT
SANE_CONFIG_DIR
This environment variable specifies the list of directories that may contain the configuration file. Under UNIX, the directories
are separated by a colon (`:'), under OS/2, they are separated by a semi-colon (`;'). If this variable is not set, the configura-
tion file is searched in two default directories: first, the current working directory (".") and then in /etc/sane.d. If the value
of the environment variable ends with the directory separator character, then the default directories are searched after the explic-
itly specified directories. For example, setting SANE_CONFIG_DIR to "/tmp/config:" would result in directories "tmp/config", ".",
and "/etc/sane.d" being searched (in this order).
SANE_DEBUG_RICOH
If the library was compiled with debug support enabled, this environment variable controls the debug level for this backend. Higher
debug levels increase the verbosity of the output.
Example: export SANE_DEBUG_RICOH=4
SEE ALSO
sane(7), sane-scsi(5)
AUTHOR
Feico W. Dillema
14 Jul 2008 sane-ricoh(5)