Hi,
I have a directory with possibly around 800,000 files in it.
What is the fastest way to list file(s) in this directory with a wildcard.
for example would
ls -1 *.abcdefg.Z
or
find . -name "*.abcdefg.Z"
be the fastest way to find all of the files that end with .abcdefg.Z... (6 Replies)
Need to make a very fast file existence checker. Passing in 20-50K num of files
In the code below ${file} is a file with a listing of +20,000 files. test_speed is the script. I am commenting out the results of <time test_speed try>.
The normal "test -f" is much much too slow when a system... (2 Replies)
Good day!
I would just like to ask about an issue I encountered. There is a Java program (version1.3) that we use that is hosted in Unix (HP-UX B.11.11 U), and one of its functions copies a file and writes it to another directory. It usually runs fine, but one day, it wrote a file that had 000... (2 Replies)
Hi,
I have a shell script file which is set to access permission 000. When I login as root (sudo su) and try to run this script, I am getting the Permission denied error. I have read somewhere that root admin user can execute any kind of permission script. Then why this behavior? However, I can... (1 Reply)
Hi all,
is there a way to list all files with 000 permission and not get "Permission denied" message?
I would like to have names of all those files in one text file.
At the moment, i have this " find . -type d \( -name . -o -prune \) -perm 000 > text.txt " and it is not working.
Can... (8 Replies)
Discussion started by: bb2
8 Replies
LEARN ABOUT MOJAVE
genworm
GENWORM(1) General Commands Manual GENWORM(1)NAME
genworm - generate a RADIANCE description of a functional worm
SYNOPSIS
genworm mat name 'x(t)' 'y(t)' 'z(t)' 'r(t)' nseg [ -e expr ][ -f file ]
DESCRIPTION
Genworm produces a RADIANCE scene description of a worm defined by the parametric equations x(t), y(t), z(t), and r(t) (the radius). T
will vary from 0 to 1 in steps of 1/nseg. The surface will be composed of nseg cones or cylinders and nseg+1 spheres. The expressions are
of the same type used in RADIANCE function files. Auxiliary expressions and/or files may be specified in any number of -e and -f options.
EXAMPLE
To generate a banana:
genworm yellow banana '0' '5*sin(t)' '5*cos(t)' '.4-(.5-t)*(.5-t)' 20
AUTHOR
Greg Ward
BUGS
Since the worm is constructed of intersecting surfaces, only opaque materials should be used with this object. Also, a worm cannot double
back inside itself without making a mess.
SEE ALSO genrbox(1), genrev(1), gensurf(1), icalc(1), rpict(1), rvu(1), xform(1)RADIANCE 11/15/93 GENWORM(1)