Content-type: text/html Man page of LFC-FIND

LFC-FIND

Section: LFC User Commands (1)
Updated: $Date: 2008/01/29 11:14:55 $
Index Return to Main Contents
 

NAME

lfc-find - search for files in LFC name server  

SYNOPSIS

lfc-find path-list [ -atime nbdays ] [ -ctime nbdays ] [ -inum fileid ] [ -ls ] [ -mtime nbdays ] [ -name pattern ]  

DESCRIPTION

lfc-find searches for files in LFC name server.
path-list
specifies the list of LFC pathnames. If path does not start with /, it is prefixed by the content of the LFC_HOME environment variable.
 

OPTIONS

-atime nbdays
if nbdays is is just a number, the file is selected if it was accessed exactly nbdays ago. If the argument is in the form +n, this means more than n days ago and if the argument is in the form -n, this means less than n days ago.
-ctime nbdays
the file is selected if its status changed nbdays ago. See -atime above.
-inum fileid
the file is selected if its fileid matches fileid.
-ls
list current file in "nsls -dil" format, i.e. gives the file id, the file mode, the number of entries in the directory, the owner in alphabetic form or as a valid numeric ID, the group in alphabetic form or as a valid numeric ID, the file size, the last modification date and the file name.

The mode is printed as 10 characters, the first one is d for a directory, D for a logically deleted file, m for a migrated file and - for a regular file. The next 9 characters are three triplets: the first triplet gives read, write and execute/search permission for the owner, the second triplet for the group and the last one for the others.
r
the file is readable
w
the file is writable
x
the file is executable or the directory is searchable
-
permission is not granted
s
set-user-ID or set-group-ID bit is on
t
sticky bit is on
-mtime nbdays
the file is selected if it has been modified nbdays ago. See -atime above.
-name pattern
select the file if the file name matches regular expression pattern.
 

EXIT STATUS

This program returns 0 if the operation was successful or >0 if the operation failed.  

SEE ALSO

Castor_limits(4), lfc_chmod(3)  

AUTHOR

LCG Grid Deployment Team


 

Index

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
EXIT STATUS
SEE ALSO
AUTHOR

This document was created by man2html, using the manual pages.
Time: 11:46:10 GMT, June 26, 2009