showinfilemanager - open the file manager and select files in it
Contents
Bugs
Submit bug reports online at: <https://github.com/damonlynch/showinfilemanager/issues>
Description
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 dis‐
play the directory the file is found in.
URIs URIs or paths of files or directories.
-h, –help
Display help message.
–version
Show program’s version number and exit.
-f, –file-managerFILE_MANAGER
File manager to run
-s, –select-folder
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 de‐
fault and selects the folder, displaying it in its parent directory.
–verbose
Display command being run to stdout.
–debug Output debugging information to stdout.
Examples
showinfilemanager~/myfile.txt Open the system file manager and select ~/myfile.txt in the user’s home directory. showinfilemanager-fdolphin*.txt Open the dolphin file manager and select all the files with extension txt in the current directo‐ ry. showinfilemanagerD:\Documents\*.docx Open the system file manager and select all the Word documents in the Documents directory on the D: drive. showinfilemanager-s/Users/* Open the system file manager and select all the files and directories in the Users folder showinfilemanagerfile:///home/user/first%20file.txtfile:///home/user/second%20file.txt Open the system file manager and select `first file.txt' and `second file.txt' in the user’s home directory. showinfilemanager/etc/hosts/home/user/.bashrc Open the system file manager and select the hosts file in one file manager window, and the user’s .bashrc file in another.
Name
showinfilemanager - open the file manager and select files in it
See Also
Full documentation and sources at: <https://github.com/damonlynch/showinfilemanager>
showinfilemanager 2021-08-13 SHOWINFILEMANAGER(1)
Synopsis
showinfilemanager [-h] [–version] [–verbose] [–debug] [URIs...]
