DIRVISH-LOCATE(1)
π DIRVISH-LOCATE π
okay bestie, welcome to dirvish-locate from the General Commands Manual section β she's the girl who finds your files across every dirvish image you've ever made, and she does it flawlessly. no cap. π¦
β¨ NAME β¨
dirvish-locate β locate file versions in dirvish images π
π SYNOPSIS π
dirvish-locate vault[:branch] pattern
π DESCRIPTION π
Locate versions of files in a dirvish vault. literally her whole thing. π
The index of each image specified by vault gets searched for paths matching pattern. Every path that matches the pattern gets reported, and right after it comes a modification time for each version of that file, plus all the images that have a link to it. slay. β¨
That optional branch specification? It restricts the searching to the specified branch only. very demure, very mindful.
Images with an error status get skipped β and so do any without index files. The index file can be compressed with gzip or bzip2, she doesn't mind. See tree and index in dirvish.conf(5) for the details. π«Ά
The pattern is a perl regular expression that matches the final component of the path. so if you wanna match any substring of the whole entire path, append .* to the end of the pattern, or append $ if you wanna anchor the pattern to the end of the path. See perlre(1) for details. iykyk. π§
Directories are excluded from matching, because otherwise they'd match every single file inside them and that's just chaos. Symlinks are excluded from matching too. π«
If the pattern matches too many paths, dirvish-locate will only report the paths matched and not the versions. and as a sanity check, if the number of matches is really excessive, she'll limit the number of images searched. excessive matches is a sign your pattern isn't specific enough β so use that resulting path list to compose a more specific one. bestie please be specific. π
π EXIT CODES π
To facilitate further automation and integration of dirvish-locate with other tools, she provides rationalised exit codes. they're range based. while the code for a specific error may change from one version to another, it will always remain within the specified range. so don't test for specific exit codes β test for a range of values instead. and to the degree possible, higher value ranges indicate more severe errors. π₯
0β success β¨200-219β An error was encountered in loading a configuration file.220-254β An error was detected in the configuration.255β Incorrect usage. π
π FILES π
/etc/dirvish/master.confβ alternate master configuration file./etc/dirvish.confβ master configuration file.bank/vault/image/summaryβ image creation summary.bank/vault/image/indexbank/vault/image/index.gzbank/vault/image/index.bz2β dirvish index file.
π SEE ALSO π
π¦ BUGS π¦
...and that's it. no bugs listed. she's flawless, main character energy, periodt. π
okay so that's the whole page, and the footer just signs off with DIRVISH-LOCATE(1) β same as the header up top, so we're matching, iconic, no further version or date deets given. go find ur files bestie ππΈ
π¦ where this page comes from
- debian bookworm: dirvish 1.2.1-2.1
- debian trixie: dirvish 1.2.1-2.1
- ubuntu jammy: dirvish 1.2.1-2.1
- ubuntu noble: dirvish 1.2.1-2.1
- ubuntu resolute: dirvish 1.2.1-2.1build1
- ubuntu stonking: dirvish 1.2.1-2.2 Β· OSL-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms