SHOW IN FILE MANAGER(1) General Commands Manual SHOW IN FILE MANAGER(1)

showinfilemanager - open the file manager and select files in it

showinfilemanager [-h] [–version] [–verbose] [–debug] [URIs ...]

showinfilemanager opens the system file manager and optionally selects files in it. The point is not to open the files, but to select them in the file manager, thereby highlighting the files and allowing the user to quickly do something with them.

For file managers that do not support specifying files to select, this program will instruct them to display the directory the file is found in.

URIs or paths of files or directories.
Display help message.
–version
Show program’s version number and exit.
File manager to run
Select folder instead of displaying its contents. By default, when a URI or path is a directory and not a file, the directory itself is shown in the file manager. This option changes the default and selects the folder, displaying it in its parent directory.
–verbose
Display command being run to stdout.
–debug
Output debugging information to stdout.

Open the system file manager and select ~/myfile.txt in the user’s home directory.
Open the dolphin file manager and select all the files with extension txt in the current directory.
Open the system file manager and select all the Word documents in the Documents directory on the D: drive.
Open the system file manager and select all the files and directories in the Users folder
Open the system file manager and select `first file.txt' and `second file.txt' in the user’s home directory.
Open the system file manager and select the hosts file in one file manager window, and the user’s .bashrc file in another.

Damon Lynch

damonlynch@gmail.com

Submit bug reports online at: <https://github.com/damonlynch/showinfilemanager/issues>

Full documentation and sources at: <https://github.com/damonlynch/showinfilemanager>

2021-08-13 showinfilemanager