ListProgramFiles
From GoboLinux Knowledge Base
Gives you the list of files which belong to some program you have installed on your machine.
Contents |
[edit] Usage
ListProgramFiles <program> [<version>] | <version_directory>
[edit] Options
- -h, --help - Show the help message.
- --version - Show program's version number.
- -v, --verbose - Enables verbose mode.
- -f, --files - List files (equivalent to '-xtype f' in 'find')
- -l, --links - List links (equivalent to '-type l' in 'find')
- -p, --path - Return full path, including the program's directory.
- -n, --null - Separate files with null instead of newline.
[edit] Other considerations
- <program> field is not case-sensitive, although the <version> field is.
[edit] Usage examples
[edit] Which files belong the current installed version of 'Wireless-Tools'
ListProgramFiles wireless-tools
or, equivalently:
ListProgramFiles wireless-tools Current
Notice how <program> field is not case-sensitive although <version> field is.
[edit] Which files belong to version 28 of 'Wireless-Tools'
ListProgramFiles wireless-tools 28
[edit] Which files belong to 'Wireless-Tools' (merges files from all versions installed)
ListProgramFiles /Programs/Wireless-Tools
Notice that we passed the program's directory instead of its name.


