g.findetc
Searches for GRASS support files.
g.findetc file=string [--verbose] [--quiet] [--qq] [--ui]
Example:
g.findetc file=string
grass.script.run_command("g.findetc", file, verbose=False, quiet=False, superquiet=False)
Example:
gs.run_command("g.findetc", file="string")
Parameters
file=string [required]
Name of an file or directory
--help
Print usage summary
--verbose
Verbose module output
--quiet
Quiet module output
--qq
Very quiet module output
--ui
Force launching GUI dialog
file : str, required
Name of an file or directory
verbose: bool, optional
Verbose module output
Default: False
quiet: bool, optional
Quiet module output
Default: False
superquiet: bool, optional
Very quiet module output
Default: False
DESCRIPTION
g.findetc is designed for Bourne shell scripts that need to search for support data, programs and subfoldrs in any number of directories as specified in GRASS_ADDON_ETC, plus the GRASS application etc/ directory. This is designed for addon scripts that are installed outside the GRASS application directory, such as a user's home or a system addon directory.
OUTPUT
g.findetc writes the full path to the file or directory to standard output
SEE ALSO
g.filename, g.findfile, g.gisenv, g.mapsets
AUTHOR
William Kyngesburye
SOURCE CODE
Available at: g.findetc source code
(history)
Latest change: Friday Feb 07 19:16:09 2025 in commit a82a39f