Previous topic

mv

Next topic

node

This Page

newfind

find [--name <pattern>] [--xurl] [--childcount] [--purge <n> ] [--count] [-s] [-d] [-f] [-0] [-1] [-g] [-uid <n>] [-nuid <n>] [-gid <n>] [-ngid <n>] [-flag <n>] [-nflag <n>] [-ctime +<n>|-<n>] [-m] [-x <key>=<val>] [-p <key>] [-b] [--layoutstripes <n>] <path>
  -f -d :  find files(-f) or directories (-d) in <path>
  --name <pattern> :  find by name or wildcard match
  -x <key>=<val> :  find entries with <key>=<val>
  -0 :  find 0-size files only
  -g :  find files with mixed scheduling groups
  -p <key> :  additionally print the value of <key> for each entry
  -b :  query the server balance of the files found
  -s :  run as a subcommand (in silent mode)
  -uid <n> :  entries owned by given user id number
  -nuid <n> :  entries not owned by given user id number
  -gid <n> :  entries owned by given group id number
  -ngid <n> :  entries not owned by given group id number
  -flag <n> :  directories with specified UNIX access flag, e.g. 755
  -nflag <n> :  directories not with specified UNIX access flag, e.g. 755
  -ctime +<n> :  find files older than <n> days
  -ctime -<n> :  find files younger than <n> days
  --layoutstripes <n> :  apply new layout with <n> stripes to all files found
  --maxdepth <n> :  descend only <n> levels
  -1 :  find files which are at least 1 hour old
  --stripediff :  find files which have not the nominal number of stripes(replicas)
  --faultyacl :  find directories with illegal ACLs
  --count :  just print global counters for files/dirs found
  --xurl :  print the XRootD URL instead of the path name
  --childcount :  print the number of children in each directory
  --purge <n> | atomic
  :  remove versioned files keeping <n> versions - to remove all old versions use --purge 0
  To apply the settings of the extended attribute definition use <n>=-1
  To remove all atomic upload left-overs older than a day user --purge atomic
  default :  find files and directories
  find [--nrep] [--nunlink] [--size] [--fileinfo] [--online] [--hosts] [--partition] [--fid] [--fs] [--checksum] [--ctime] [--mtime] [--uid] [--gid] <path>
  :  find files and print out the requested meta data as key value pairs
  path=file:...  :  do a find in the local file system (options ignored) - 'file:' is the current working directory
  path=root:...  :  do a find on a plain XRootD server (options ignored) - does not work on native XRootD clusters
  path=as3:...   :  do a find on an S3 bucket
  path=...       :  all other paths are considered to be EOS paths!