Sponsored Content
Operating Systems OS X (Apple) OS X 'find' nogroup/nouser doesn't traverse directories? Post 302723197 by jnojr on Monday 29th of October 2012 03:39:56 PM
Old 10-29-2012
OS X 'find' nogroup/nouser doesn't traverse directories?

Code:
flamingo:~ joliver$ sudo find / -nogroup
find: /dev/fd/4: No such file or directory
find: /home: No such file or directory
find: /Library: No such file or directory
find: /net: No such file or directory
find: /Network: No such file or directory
find: /private: No such file or directory
find: /sbin: No such file or directory
find: /System: No such file or directory
find: /Users: No such file or directory
find: /usr: No such file or directory
find: /Volumes: No such file or directory
flamingo:~ joliver$ ls -l /
total 30453
drwxrwxr-x+ 40 root  admin      1360 Oct 23 16:01 Applications
drwxr-xr-x+ 66 root  wheel      2244 Oct 12 15:01 Library
drwxr-xr-x@  2 root  wheel        68 Jun 18  2011 Network
drwxr-xr-x+  4 root  wheel       136 Oct  1 14:08 System
drwxr-xr-x   7 root  admin       238 Oct 12 10:19 Users
drwxrwxrwt@  4 root  admin       136 Oct 26 14:16 Volumes
drwxr-xr-x@ 39 root  wheel      1326 Oct  1 14:01 bin
drwxrwxr-t@  2 root  admin        68 Jun 18  2011 cores
dr-xr-xr-x   3 root  wheel      4250 Oct 26 13:30 dev
lrwxr-xr-x@  1 root  wheel        11 Oct  1 12:52 etc -> private/etc
dr-xr-xr-x   2 root  wheel         1 Oct 26 13:46 home
-rw-r--r--@  1 root  wheel  15572704 Aug 23 16:27 mach_kernel
dr-xr-xr-x   2 root  wheel         1 Oct 26 13:46 net
drwxr-xr-x@  6 root  wheel       204 Oct  1 12:57 private
drwxr-xr-x@ 62 root  wheel      2108 Oct  1 14:01 sbin
lrwxr-xr-x@  1 root  wheel        11 Oct  1 12:52 tmp -> private/tmp
drwxr-xr-x@ 12 root  wheel       408 Oct 15 08:22 usr
lrwxr-xr-x@  1 root  wheel        11 Oct  1 12:52 var -> private/var

Yet it can if I specify a directory:

Code:
flamingo:~ joliver$ sudo find /Library -nogroup
/Library/McAfee/abm
/Library/McAfee/abm/bin
/Library/McAfee/abm/bin/abm
/Library/McAfee/abm/lib
/Library/McAfee/abm/lib/libABMCommon-3.5.0.1.0.0.dylib
/Library/McAfee/abm/lib/libABMCommon-3.5.0.1.dylib
/Library/McAfee/abm/lib/libABMCommon.dylib
/Library/McAfee/abm/lib/libABMCommon.la
/Library/McAfee/abm/lib/libABMEngine-1.0.0.1.0.0.dylib
/Library/McAfee/abm/lib/libABMEngine-1.0.0.1.dylib
/Library/McAfee/abm/lib/libABMEngine.dylib
/Library/McAfee/abm/lib/libABMEngine.la
/Library/McAfee/abm/lib/libABMPlugin-3.5.0.1.0.0.dylib
/Library/McAfee/abm/lib/libABMPlugin-3.5.0.1.dylib
/Library/McAfee/abm/lib/libABMPlugin.dylib
/Library/McAfee/abm/lib/libABMPlugin.la
/Library/McAfee/abm/lib/libboost_date_time.dylib
/Library/McAfee/abm/lib/libboost_filesystem.dylib
/Library/McAfee/abm/lib/libboost_program_options.dylib
/Library/McAfee/abm/lib/libboost_regex.dylib
/Library/McAfee/abm/lib/libboost_system.dylib
/Library/McAfee/abm/lib/libsqlite3.0.8.6.dylib
/Library/McAfee/abm/lib/libsqlite3.0.dylib
/Library/McAfee/abm/lib/libsqlite3.dylib
/Library/McAfee/abm/lib/libsqlite3.la

 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Fastest way to traverse through large directories

Hi! I have thousands of sub-directories, and hundreds of thousands of files in them. What is the fast way to find out which files are older than a certain date? Is the "find" command the fastest? Or is there some other way? Right now I have a C script that traverses through and checks... (5 Replies)
Discussion started by: sreedharange
5 Replies

2. Shell Programming and Scripting

find in given path do not want to traverse to its sub-directories

Hi All, My UNIX Version is: OS Name Release Version AIX appma538 3 5 I want to find certain files with some criterias under the given path. At the same time i want to find the files which resides under the given directory, but normal find traverse to its sub-directories... (4 Replies)
Discussion started by: Arunprasad
4 Replies

3. Shell Programming and Scripting

How to find 777 permisson is there or not for Directories and sub-directories

Hi All, I am Oracle Apps Tech guy, I have a requirement to find 777 permission is there or not for all Folders and Sub-folders Under APPL_TOP (Folder/directory) with below conditions i) the directory names should start with xx..... (like xxau,xxcfi,xxcca...etc) and exclude the directory... (11 Replies)
Discussion started by: gagan4599
11 Replies

4. Programming

find() doesn't find '|' for some reason

Here's some sample output and my code follows it. Why can't find() find '|'. It just dosn't make a bit of sense at all. AL01463|Pell City|Saint Clair|B|02115|AL|35125|630|Birmingham (Ann and Tusc)|13890|40|Charter Communications|Fairfield|Charter Communications|2 -1... (1 Reply)
Discussion started by: sepoto
1 Replies

5. Shell Programming and Scripting

PERL - traverse sub directories and get test case results

Hello, I need help in creating a PERL script for parsing test result files to get the results (pass or fail). Each test case execution generates a directory with few files among which we are interested in .result file. Lets say Testing is home directory. If i executed 2 test cases. It will... (4 Replies)
Discussion started by: ravi.videla
4 Replies

6. UNIX for Dummies Questions & Answers

Using grep command to find the pattern of text in all directories and sub-directories.

Hi all, Using grep command, i want to find the pattern of text in all directories and sub-directories. e.g: if i want to search for a pattern named "parmeter", i used the command grep -i "param" ../* is this correct? (1 Reply)
Discussion started by: vinothrajan55
1 Replies

7. Shell Programming and Scripting

Why doesn't this Bash shell compile directories?

Hello I'm having a problem trying to get this Bash shell program to function properly. Purpose: In the current directory, more into the sub-directories and compile the .c files. Heres my code: #!/bin/bash wd=$(pwd) for i do cd ${i} gcc *.c cd $wd done Then I save it... (8 Replies)
Discussion started by: murphy
8 Replies

8. Shell Programming and Scripting

Traverse through directories

Hi all, Require help in completing a shell script. i do have a total of 90 directories where in we have different sub-directories and one of the sub directory named logs I need to go inside the logs subdirectory and check if a particular log is present or not. for example below is the... (3 Replies)
Discussion started by: bhaskar t
3 Replies

9. Shell Programming and Scripting

Move directories in script.sh doesn't work

Dear All, I would like move some directories in another location. Basically, my ls -lis drwxr-xr-x 3 XXXXXXXXXXXXXXXXXXXX 4096 Feb 24 02:18 data.N701_N502.ABCDE -rw-r--r-- 1 XXXXXXXXXXXXXXXXXXXX 185865797 Feb 23 11:27 data.N701_N502.ABCDE_file1 -rw-r--r-- 1 XXXXXXXXXXXXXXXXXXXX... (2 Replies)
Discussion started by: giuliangiuseppe
2 Replies

10. Shell Programming and Scripting

Find a pattern and traverse left and pick something from another pattern

I have a Text like below , Detailed Table Information Table(tableName:a1, dbName:default, owner:eedc_hdp_s_d-itm-e, createTime:1520514151, lastAccessTime:0, retention:0, sd:StorageDescriptor(cols:, location:hdfs://DBDP-Dev/apps/hive/warehouse/a1,... (6 Replies)
Discussion started by: nv186000
6 Replies
ppmtosixel(1)						      General Commands Manual						     ppmtosixel(1)

NAME
ppmtosixel - convert a portable pixmap into DEC sixel format SYNOPSIS
ppmtosixel [-raw] [-margin] [ppmfile] DESCRIPTION
Reads a portable pixmap as input. Produces sixel commands (SIX) as output. The output is formatted for color printing, e.g. for a DEC LJ250 color inkjet printer. If RGB values from the PPM file do not have maxval=100, the RGB values are rescaled. A printer control header and a color assignment table begin the SIX file. Image data is written in a compressed format by default. A printer control footer ends the image file. OPTIONS
-raw If specified, each pixel will be explicitly described in the image file. If -raw is not specified, output will default to com- pressed format in which identical adjacent pixels are replaced by "repeat pixel" commands. A raw file is often an order of magni- tude larger than a compressed file and prints much slower. -margin If -margin is not specified, the image will be start at the left margin (of the window, paper, or whatever). If -margin is speci- fied, a 1.5 inch left margin will offset the image. PRINTING
Generally, sixel files must reach the printer unfiltered. Use the lpr -x option or cat filename > /dev/tty0?. BUGS
Upon rescaling, truncation of the least significant bits of RGB values may result in poor color conversion. If the original PPM maxval was greater than 100, rescaling also reduces the image depth. While the actual RGB values from the ppm file are more or less retained, the color palette of the LJ250 may not match the colors on your screen. This seems to be a printer limitation. SEE ALSO
ppm(5) AUTHOR
Copyright (C) 1991 by Rick Vinci. 26 April 1991 ppmtosixel(1)
All times are GMT -4. The time now is 08:15 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy