.bvfs_lsfiles
List files using BVFS.
Synopsis
.bvfs_lsfiles [jobid=<jobid>[,...]] [path=<path>] [pathid=<pathid>]
[limit=<limit>] [offset=<offset>] [pattern=<pattern>]
[filename=<filename>]
Words without brackets are required, [ ] marks optional parts, a | b alternatives, ... a repeatable argument and [,...] a comma separated list.
Description
Lists the files (without subdirectories) of a directory in the state of a job chain; for each file the version from the newest job of the chain is shown. The FileIds are the input for .bvfs_restore. The BVFS cache must have been filled with .bvfs_update first. pattern= keeps only file names matching a regular expression; limit= (default 2000) and offset= page through the result.
Each line has five tab separated columns: PathId, FileId, JobId, LStat and file name.
Arguments
| Argument | Type | Values / source | Default | Flags | Description |
|---|---|---|---|---|---|
jobid= | string | list | Job IDs. | ||
path= | string | Directory. | |||
pathid= | integer | Path ID. | |||
limit= | integer | Most rows. | |||
offset= | integer | Rows to skip. | |||
pattern= | string | Name filter (regular expression). | |||
filename= | string | File name. |
Examples
The files of /etc in a job chain:
.bvfs_lsfiles jobid=600,615,616 path=/etc/
Only file names matching a pattern:
.bvfs_lsfiles jobid=600,615,616 pathid=7 pattern=conf