rbh-find(1)
π rbh-find(1) π
okay bestie, welcome to the rbh-find(1) manual page β yes, the find clone that queries the robinhood DB. it's giving "find but make it Robinhood", and we're gonna go through every flag, filter, format directive, and caveat together. no cap. β¨
πΈ NAME πΈ
rbh-find β find clone that query robinhood DB
β¨ SYNOPSIS β¨
the whole summoning spell is literally:
rbh-find [options] [path|fid]...
π FILTERS π
okay so these are the filters, bestie β the way you narrow down what you're looking for. iykyk. π
-user userβ user, bestie. π-group groupβ group, same energy. π«Ά-nouserβ no user.-nogroupβ no group.-type typeβ the type values are'f'(file),'d'(dir),'l'(symlink),'b'(block),'c'(char),'p'(named pipe/FIFO),'s'(socket). π¦-size size_critβ size crit, in the format[-|+]<val>[K|M|G|T]. iconic. π₯-name filenameβ filename, literally. π-crtime time_critβ time crit in the format[-|+]<val>[s|m|h|d|y](s: sec,m: min,h: hour,d: day,y: year; default unit is days). π°οΈ-ctime time_critβ same format:[-|+]<val>[s|m|h|d|y](s: sec,m: min,h: hour,d: day,y: year; default unit is days).-mtime time_critβ same format:[-|+]<val>[s|m|h|d|y](s: sec,m: min,h: hour,d: day,y: year; default unit is days).-mmin minute_critβ same as'-mtime Nm'.-msec second_critβ same as'-mtime Ns'.-atime time_critβ same format:[-|+]<val>[s|m|h|d|y](s: sec,m: min,h: hour,d: day,y: year; default unit is days).-amin minute_critβ same as'-atime Nm'.-links countβ count, no cap. π-ost ost_indexβ OST index, bestie. π-pool ost_poolβ OST pool.-status status_name:status_valueβ status match in the formatstatus_name:status_value. π-class classβ class, iykyk.-not,-!β Negate next argument. periodt. β¨
π OUTPUT OPTIONS π
this is where you decide how the matching entries get shown off. main character energy only. π
-lsβ Display attributes. π-lsostβ Display OST information. π¦-lsclassβ Display fileclass information. π-lsstatus[=policy]β Display status information (optionally: only for the given policy). π-printβ Display the fullpath of matching entries (this is the default, unless-ls,-lsostor-execare used). β¨-printfβ Format string to display the matching entries. The supported escapes and directives are a subset of those offind, with some Robinhood additions prefixed with%R:%%β Escapes%%Aβ Robinhoodβs "last access time", which is a compound of the file's atime and mtime, unless the global configurationlast_access_only_atimeis set, in which case it is exactly the atime of the file. Anstrftime(1)directive must be added. For example:%Ap %AT. This option can also take an strftime format option between brackets. For instance:%A{%A, %B %dth, %Y %F}. π°οΈ%bβ Number of blocks%Cβ Robinhoodβs "last MD change" which is the ctime of the file.%dβ Depth%fβ File name, without its path%gβ Group name%Mβ File mode as a string, similar to the output ofls%mβ File mode in octal%nβ Number of hard links%pβ Full file name%sβ File size%Tβ Robinhoodβs "modification time", which is the file's mtime.%uβ File owner%Yβ Full file type (file, dir, fifo, ...)%yβ File type as one letter (f, d, p, ...)%RCβ Robinhoodβs "creation time", which is the oldest ctime seen for that file. It is always lesser or equal to the current ctime of the file. When Lustre changelogs are used, "creation time" is really the creation time. Anstrftime(1)directive must be added. For example:%RCc. This option can also take an strftime format option between curly brackets. For instance:%RC{%A, %B %dth, %Y %F}. π°οΈ%Rcβ File class%Rfβ Lustre FID%Rmβ Status manager module attribute, with the name specified between curly bracket. The name is the status manager module name, followed by a dot, followed by the attribute name. For example:%Rm{lhsm.archive_id}.%Roβ Lustre OSTS%Rpβ Lustre parent FID\\β Escapes\\nβ Newline\tβ Tab\NNNβ Byte with octal value NNN (1 to 3 digits)\xHHβ Byte with hexadecimal value HH (1 to 2 digits)
-escapedβ When-printfis used, escape unprintable characters. π-print0β Print file name followed by a null character. Same as-printf "%p\0". π
π₯ ACTIONS π₯
-exec "cmd"β Execute the given command for each matching entry. Unlike classical'find', cmd must be a single (quoted) shell param, not necessarily terminated with';'. The'{}'placeholder is replaced by the entry path. Example:-exec 'md5sum {}'. π₯
π¦ BEHAVIOR π¦
-nobulkβ When runningrbh-findon the filesystem root,rbh-findautomatically switches to bulk DB request instead of browsing the namespace from the DB. This speeds up the query, but this may result in an arbitrary output ordering, and a single path may be displayed in case of multiple hardlinks. Use-nobulkto disable this optimization. π¦
π PROGRAM OPTIONS π
-f config_fileβ config file, bestie. π-d log_levelβ log level. the valid levels areCRIT,MAJOR,EVENT,VERB,DEBUG,FULL. π-h,--helpβ Display a short help about command line options. π«Ά-V,--versionβ Display version info. β¨
π SEE ALSO π
okay that's the whole page, bestie π«Ά it's from Robinhood 3.0 and dated 07 July 2016. go forth, query that DB, and slay π β¨
π¦ where this page comes from
- opensuse-leap 16.0: robinhood-tools 3.1.7-bp160.1.12 Β· CECILL-C
- opensuse-leap 16.0: robinhood-tools 3.1.7-bp160.1.12 Β· CECILL-C
- opensuse-leap 16.0: robinhood-tools 3.1.7-bp160.1.12 Β· CECILL-C
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms