Module for using the locate utilities
Performs a file lookup. Valid options (and their defaults) are:
basename=False
count=False
existing=False
follow=True
ignore=False
nofollow=False
wholename=True
regex=False
database=<locate's default database>
limit=<integer, not set by default>
See the manpage for locate(1)
for further explanation of these options.
CLI Example:
salt '*' locate.locate
Returns statistics about the locate database
CLI Example:
salt '*' locate.stats
Updates the locate database
CLI Example:
salt '*' locate.updatedb
Returns the version of locate
CLI Example:
salt '*' locate.version
Generated on October 23, 2024 at 09:02:06 UTC.
You are viewing docs for the latest stable release, 3007.1. Switch to docs for the previous stable release, 3006.9, or to a recent doc build from the master branch.
© 2024 VMware, Inc. | Privacy Policy