NAME
plakar-locate
—
Find filenames in a Plakar
snapshot
SYNOPSIS
plakar locate | [-snapshot snapshotID]
patterns ... |
DESCRIPTION
The plakar locate
command search snapshots
to find file names matching any of the given patterns
and prints the abbreviated snapshot ID and the full path of the matched
files. Matching works according to the shell globbing rules.
If no -snapshot
nor location flags are
given, plakar locate
will search in all
snapshots.
In addition to the flags described below, plakar
locate
supports the location flags documented in
plakar-query(7) to precisely select snapshots.
The options are as follows:
-snapshot
snapshotID- Limit the search to the given snapshot.
EXAMPLES
Search for files ending in “wd”:
$ plakar locate '*wd' abc123:/etc/master.passwd abc123:/etc/passwd
DIAGNOSTICS
The plakar-locate
utility exits 0
on success, and >0 if an error occurs.
- 0
- Command completed successfully.
- >0
- An error occurred, such as invalid parameters, inability to create the repository, or configuration issues.
SEE ALSO
CAVEATS
The patterns may have to be quoted to avoid the shell attempting to expand them.