> V1.0.4 > Commands > Plakar locate
Version v1.0.4

locate

PLAKAR-LOCATE(1) General Commands Manual PLAKAR-LOCATE(1)

plakar-locateFind filenames in a Plakar snapshot

plakar locate[-snapshot snapshotID] patterns ...

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:

snapshotID
Limit the search to the given snapshot.

Search for files ending in “wd”:

$ plakar locate '*wd'
abc123:/etc/master.passwd
abc123:/etc/passwd

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.

plakar(1), plakar-backup(1), plakar-query(7)

The patterns may have to be quoted to avoid the shell attempting to expand them.

Plakar September 10, 2025 PLAKAR-LOCATE(1)