True if either
primary1
or
primary2
is true
(-o is the
or
operator).
ffindcmd
will perform
csh
file name globbing based on file and directory information
obtained from the FSP database.
Since user's command shells generally cannot do the proper globbing for
this program, it is recommended that user defines a shell alias or
function to turn off command shell globbing before running this program.
csh
example:
alias ffind \(set noglob\; exec ffindcmd \!\*\)
EXAMPLE
To find all the files called
intro.ms
starting from the current
directory:
example% ffind . -name intro.ms -print
./manuals/assembler/intro.ms
./manuals/sun.core/intro.ms
./manuals/driver.tut/intro.ms
./manuals/sys.manager/uucp.impl/intro.ms
./supplements/general.works/unix.introduction/intro.ms
./supplements/programming.tools/sccs/intro.ms
example%
To recursively print all files names in the current directory and below,
but skipping
SCCS
directories:
example% ffind . -name SCCS -prune -o -print
example%
To recursively print all files names in the current directory and below,
skipping the contents of
SCCS
directories, but printing out the
SCCS
directory name:
example% ffind . -print -name SCCS -prune
example%
To remove files named
a.out
or
*.o
that have not been accessed for a week or more
example% ffind . \( -name a.out -o -name *.o \) -time +7 -exec frm {} \;
ENVIRONMENT
The following variables associate this program with a FSP database:
- FSP_HOST
-
The name or internet number of the machine with the FSP server.
- FSP_PORT
-
The port number of the UDP socket used by the FSP server.
- FSP_LOCALPORT
-
The port number of the UDP socket used by FSP client utilities.
The only reason to define this variable is to ensure mutual
exclusion of client commands when none of the udp packet
multiplexing mechanisms are enabled during compile time.
You may pick any number not currently used for other purposes.
- FSP_DIR
-
The current working directory of the client in the FSP database.
The root of the database is /.
- FSP_TRACE
-
If this variable is set, some commands will display the number of kilo-byte
blocks transferred as transfer progresses. Also shown will be an indication
of the network speed in the form of characters per second and the retries
on not answered commands.
- FSP_TIMEOUT
-
If this variable is set, it contains the timeout value. The default value is 4.
No function if program was compiled without timeout code.
SEE ALSO
fcatcmd(1), fcdcmd(1), fgetcmd(1), fgrabcmd(1), flscmd(1), fmkdir(1),
fprocmd(1), fput(1), frmcmd(1), frmdircmd(1), fver(1), fducmd(1),
fhostcmd(1), ffindcmd(1), fspd(1), fsp_prof(5)
BUGS
There seems to be a problem using an alias as command to execute.
But since there is no globbing performed on the pathname
the original FSP commands may be used instead.
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- USAGE
-
- Operators
-
- EXAMPLE
-
- ENVIRONMENT
-
- SEE ALSO
-
- BUGS
-
This document was created by
man2html,
using the manual pages.
Time: 19:58:36 GMT, December 08, 2024