Search Commands

Discussion related to "Everything" 1.5 Alpha.
Locked
void
Developer
Posts: 16698
Joined: Fri Oct 16, 2009 11:31 pm

Search Commands

Post by void »

Everything 1.5 search commands.

Search commands can be typed into the search box to perform UI actions.

To use search commands, type in one of the following commands in the search box and press ENTER:
-or-
Use a bookmark and set the search to one or more of the following commands.
Opening bookmarks will execute the search command without setting the search.
Use Alt + Enter to separate multiple search commands.



about:
Show the about dialog.



about:about
about:help
about:?
Show this help.



about:access-denied
about:service
Show service options to index NTFS volumes.



about:bookmarks.csv
Open the Bookmarks.csv file location.



about:config
Open the user Everything.ini
Monitors the Everything.ini for changes and will notify user to reload if changed.



about:credits
Show the Everything credits.



about:exe
about:exe-location
about:everything.exe
Open the Everything.exe file location.



about:db
Show database statistics.



about:db-location
about:everything.db
Open the Everything.db file location.



about:debug-log
Open the Everything Debug Log.txt file location.



about:filters.csv
Open the Filters.csv file location.



about:history
about:search-history
Show all search history.



about:run-history
Show all run history.



about:home
Load the home search.



about:ini-location
about:everything.ini
Open the Everything.ini file location.



about:journal
Show the Index Journal.



about:keys
Show current key bindings.



about:license
about:licence
Show the Everything license



about:macros.csv
Open the Macros.csv file location.



about:plugins.ini
Open the plugins.ini file location.



about:preferences
about:options
about:settings
Show the options window



/add-col <property-list>
/add-column <property-list>
/add-columns <property-list>
Add the specified columns by a semicolon (;) delimited list of property canonical names.
For example:
/add-columns width;height;length
See also: /columns and /remove-columns



/add-search <text>
/append-search <text>
Add text to the end of the search box.
A space is automatically included if necessary.



/advanced-copy-to <old-format> <new-format> <case> <diacritics> <regex> <ignore-extension>
/advanced-move-to <old-format> <new-format> <case> <diacritics> <regex> <ignore-extension>
/advanced-rename <old-format> <new-format> <case> <diacritics> <regex> <ignore-extension>
Show the Advanced copy-to, Advanced move-to or Advanced rename dialog with the specified values.
For example: /advanced-rename _ . 0 0 0 1



/advanced-copy-to-preset <preset-name>
/advanced-move-to-preset <preset-name>
/advanced-rename-preset <preset-name>
Show the Advanced copy-to, Advanced move-to or Advanced rename dialog and load the specified preset by name.
Everything will try to lookup the preset with matching case first and then try without matching case.
For example: /advanced-rename-preset "my preset"



/close
Close the active search window.



/close-all
Close all search windows.



/cls
Clear the debug console.



/columns <property-list>
Set the columns with a semicolon (;) delimited list of property canonical names.
-or-
Set the columns with a json array of column objects.
For example:
/columns name;path;size;date-modified;width;height;length
/columns [{"name":"Name","width":330},{"name":"Path","width":330},{"name":"Size","width":46},{"name":"Date Modified","width":99}]
See also: /add-columns and /remove-columns



/command <id>
Execute a semicolon delimited list of commands by name or ID
For example:
/command 41003
/command 40017;40017;40017
/command "File | New Window";"File | New Tab"



/comment <text>
Does nothing.
Useful for bookmark comments.
/comment My bookmark comment



/copy [text]
Copies the current file/folder selection to the clipboard and applies formatting.
Use $property-name: to insert properties.
Use the search preprocessor to apply formatting.
Each file/folder is separated with a new line (\r\n).
For example:
/copy $full-path:,$date-taken:

See also: /copy-header



/copy-header [header-text]
Specify the header text to use with the next call to /copy
The header is cleared after the next /copy call.
For example:
/copy-header Filename&tab:Date Taken
/copy $full-path:&tab:$date-taken:



/debug
Toggle debug mode.



/debug-log
/start-debug-logging
Enter debug mode and log to Everything Debug Log.txt



/define <name>=<search>
Define a macro.
For example:
/define foo=bar
When searching for foo: it is now replaced with bar
All macros are listed in the status bar if name is not defined.
Omit the = to show the current definition.
For example:
/define foo
foo=bar is shown in the status bar.
Undefine a macro with /undef



/delete-db
Delete the database and backup database from disk.



/disable-alternate-row-color
Disable alternate row colors.



/disable-folders-sidebar-subfolders
/disable-folders-subfolders
Disable subfolders in the folder sidebar.



/disable-omit-results
Disable omit results.



/disable-temp-omit-results
Disable temporary result omissions.



/enable-alternate-row-color
Enable alternate row colors.



/enable-folders-sidebar-subfolders
/enable-folders-subfolders
Enable subfolders in the folder sidebar.



/enable-omit-results
Enable omit results.



/enable-temp-omit-results
Enable temporary result omissions.



/eval <formula>
/=<formula>
Evaluate formula and set the search to the result.



/exit
/quit
Exit Everything.



/exit-now
/quit-now
Exit Everything without saving settings and data.



/expand <text>
/set-search <text>
/#preprocessor-function:text
/[preprocessor-function:text]
/preprocessor-function:text
Set the search to the result from preprocessor expansion.
For example:
/len:abc 123
/clipboard:
Search Preprocessor
$currentsearch: is replaced with the current search text
$cursel: is replaced with the currently selected search text



/explore <folder>
Open the folder sidebar and select the specified folder.



/explore-path <filename>
Open the folder sidebar and select the specified filename.
The parent folder is selected in the folders sidebar and the specified file/folder is selected in the result list.



/explore-subfolders
/explore-no-subfolders
/no-explore-subfolders
Explore subfolders or don't explore subfolders in the folder sidebar.



/focus <id>
Focus the specified window by control ID.



/help
Show Everything help.



/hide-bookmarks
/hide-bookmarks-sidebar
Hide the bookmarks sidebar.



/hide-filter-bar
Hide the filter bar.



/hide-filters
/hide-filters-sidebar
Hide the filters sidebar.



/hide-folders
/hide-folders-sidebar
Hide the folders sidebar.



/hide-fullscreen-menu-bar
Hide the fullscreen menu bar.



/hide-header
Hide the result list header.



/hide-menu-bar
Hide the windowed menu bar.



/hide-preview
Hide the preview pane.



/hide-status-bar
Hide the status bar.



/<ini-setting-name>=<value>
Set the configuration key to a value.
A restart might be required for changes to take effect.
Use ! as the value to toggle the ini setting.
Use a semicolon (;) delimited list to specify multiple key=value pairs. (only works for non-string values)
Use TAB from the search box to auto complete the ini-setting-name.



/load <filename>
Load a search from a text/plain file.



/load-bookmarks [filename]
Load bookmarks from the specified CSV file by filename.
Show the load bookmarks dialog if the filename is omitted.



/load-config [filename]
Load settings from the specified ini file by filename.
Show the load config dialog if the filename is omitted.
Automatically restarts Everything to apply changes.



/load-filters [filename]
Load filters from the specified CSV file by filename.
Show the load filters dialog if the filename is omitted.



/load-macros [filename]
Load macros from the specified CSV file by filename.
Show the load macros dialog if the filename is omitted.



/load-omit-results [filename]
Load result omissions from the specified CSV file by filename.
Show the load result omissions dialog if the filename is omitted.



/maximize
Maximize the search window.



/minimize
Minimize the search window.



/minimize-all
/unminimize-all
Minimize or unminimize all search windows.



/monitor-pause
Stop updating results and continue monitoring changes to indexes.



/monitor-resume
/monitor-start
Update results to reflect changes to indexes.



/monitor-stop
Stop monitoring changes to indexes.



/new-tab
Create a new tab.


/new-window
Create a new window.



/open <filename>
Opens the specified file/folder in the result list.
If the filename is an number, the zero-based result from the specified number is opened.



/refresh
Invalidate all gathered un-indexed properties.



/reindex [path]
/rebuild [path]
Force a rebuild for all indexes or the specified index.
[path] supports *, ** and ? wildcards.



/reload-bookmarks
Reload bookmarks from your Bookmarks.csv



/reload-config
Reload settings from your Everything.ini
Everything will automatically restart to apply changes.



/reload-filters
Reload filters from your Filters.csv



/reload-macros
Reload macros from your Macros.csv



/reload-omit-results
Reload result omissions from your omit-results.csv



/reload-property-user-values
Reload property user values
Press F5 to refresh cached properties.
Select files and press Ctrl + F5 to refresh indexed properties.



/remove-column <property-list>
/remove-columns <property-list>
Remove the specified columns by a semicolon (;) delimited list of property canonical names.
For example:
/remove-columns size;date-modified
See also: /add-columns and /columns



/replace-sel <text>
Paste text into the search box after preprocessor expansion.
For example:
/replace-sel #today:
$cursel: is replaced with the currently selected search text.
$clipboard: is replaced with the text content from the clipboard.
Works best from a bookmark with a keyboard shortcut.



/restart
Restart Everything.


/restart-as-admin
Restart Everything as administrator.



/restart-debug-log
Restart Everything in debug logging mode.



/restart-now
Restart Everything without saving settings and data.



/restart-now-debug-log
Restart Everything without saving settings and data.
The restarted Everything will run in debug logging mode.



/rescan [path]
/update [path]
Rescan all FAT, network drive and folder indexes or the specified FAT, network drive or folder index.
The specified path does not have to be the root path, for example, if you are indexing a
network share \\server\share and only wish to rescan \\server\share\subfolder use /rescan \\server\share\subfolder



/restore-previous-session
Restore a the previous session.



/restore-session <session.json>
Restore a session from the specified JSON file.
If no filename is specified a dialog is shown to select a JSON file.
For example:
/restore-session "C:\Everything\Sessions\My Fancy Session.json"



/save-bookmarks
Show the save bookmarks dialog.



/save-config
Show the save config dialog.



/save-db
Start saving the database to disk in the background.



/save-db-now
Save the database to disk now.
Does not return until the database is saved to disk.



/save-filters
Show the save filters dialog.



/save-macros
Show the save macros dialog.



/save-omit-results
Show the save result omissions dialog.



/search_edit_paste [remove-punctuation] [or-newlines] [multiline-type] [multiline-group]
paste clipboard text into the search box with the specified formatting.

remove-punctuation
0 = Preserve punctuation (default)
1 = Remove punctuation

or-newlines
0 = Insert a space between lines
1 = Insert OR operator: | between lines (default)

multiline-type
0 = Paste search text as is (default)
1 = Paste text as filenames (escapes operators)
2 = Paste text as names (escapes operators)
3 = Paste text as stems (escapes operators)
4 = Paste text as a filelist:
5 = Paste raw text as is (no grouping or character escaping)

multiline-group
0 = Do not use < and > grouping
1 = Wrap the entire pasted text inside a < and > group (default)

For example, paste the stem from multiple filenames:
/search_edit_paste 0 1 3



/select <filename>
Select the specified file/folder in the result list.
If the filename is an number, the zero-based result from the specified number is selected.



/select-all
Select all files/folders in the result list.



/show-bookmarks
/show-bookmarks-sidebar
Show the bookmarks sidebar.



/show-filter-bar
Show the filter bar.



/show-filters
/show-filters-sidebar
Show the filters sidebar.



/show-folders
/show-folders-sidebar
Show the folders sidebar.



/show-fullscreen-menu-bar
Show the fullscreen menu bar.



/show-header
Show the result list header.



/show-menu-bar
Show the windowed menu bar.



/show-preview
Show the preview pane.



/show-status-bar
Show the status bar.



/stop-debug-logging
Exit debug mode and show the Everything Debug Log.txt



/toggle-alternate-row-color
Toggle the alternate row colors.



/toggle-bookmarks
/toggle-bookmarks-sidebar
Toggle the bookmarks sidebar.



/toggle-filter-bar
Toggle the filter bar.



/toggle-filters
/toggle-filters-sidebar
Toggle the filters sidebar.



/toggle-folders
/toggle-folders-sidebar
Toggle the folders sidebar.



/toggle-folders-sidebar-subfolders
/toggle-folders-subfolders
Toggle subfolders in the folder sidebar.



/toggle-fullscreen-menu-bar
Toggle the fullscreen menu bar.



/toggle-header
Toggle the result list header.



/toggle-menu-bar
Toggle the windowed menu bar.



/toggle-omit-results
Toggle omit results.



/toggle-preview
Toggle the preview pane.



/toggle-status-bar
Toggle the status bar.



/toggle-temp-omit-results
Toggle temporary result omissions.



/undef <name>
Undefine a macro.



/view-details
Set the result list to detail view.



/view-thumbnails [size]
Set the result list to thumbnail view.
Optionally specify the thumbnail size in logical pixels.



/verbose
Enable verbose debug logging.



/window-size <width> <height>
Set the window client size in logical pixels.
If only one value is specified the value is used as the height and width is calculated from the auto_size_aspect_ratio.
If no values are specified the current dimensions are shown in the status bar.
For example:
/window-size 640 480



Dashes (-) in commands can be omitted.



Everything 1.4 search commands
void
Developer
Posts: 16698
Joined: Fri Oct 16, 2009 11:31 pm

Re: Search Commands

Post by void »

void
Developer
Posts: 16698
Joined: Fri Oct 16, 2009 11:31 pm

Re: Search Commands

Post by void »

void
Developer
Posts: 16698
Joined: Fri Oct 16, 2009 11:31 pm

Re: Search Commands

Post by void »

Everything 1.5.0.1316a improves the following commands:

/rescan [path]
/reindex [path]
void
Developer
Posts: 16698
Joined: Fri Oct 16, 2009 11:31 pm

Re: Search Commands

Post by void »

void
Developer
Posts: 16698
Joined: Fri Oct 16, 2009 11:31 pm

Re: Search Commands

Post by void »

Everything 1.5.0.1320a adds the following search commands:

/refresh
about:access-denied
void
Developer
Posts: 16698
Joined: Fri Oct 16, 2009 11:31 pm

Re: Search Commands

Post by void »

Everything 1.5.0.1325a adds the following search commands:

/add-search <text>
void
Developer
Posts: 16698
Joined: Fri Oct 16, 2009 11:31 pm

Re: Search Commands

Post by void »

Everything 1.5.0.1331a adds the following search commands:

/copy [text]
void
Developer
Posts: 16698
Joined: Fri Oct 16, 2009 11:31 pm

Re: Search Commands

Post by void »

void
Developer
Posts: 16698
Joined: Fri Oct 16, 2009 11:31 pm

Re: Search Commands

Post by void »

void
Developer
Posts: 16698
Joined: Fri Oct 16, 2009 11:31 pm

Re: Search Commands

Post by void »

Everything 1.5.0.1360a makes the following changes:

/eval and /= will now use Formulas
void
Developer
Posts: 16698
Joined: Fri Oct 16, 2009 11:31 pm

Re: Search Commands

Post by void »

Everything 1.5.0.1361a makes the following changes:

/eval and /= will now format double results correctly.



Added the following search commands:
/focus <id>
/search_edit_paste <remove-punctuation> <or-newlines> <multiline-type>
void
Developer
Posts: 16698
Joined: Fri Oct 16, 2009 11:31 pm

Re: Search Commands

Post by void »

Everything 1.5.0.1362a adds the following search commands:

/new-tab
/new-window
/restart-as-admin
void
Developer
Posts: 16698
Joined: Fri Oct 16, 2009 11:31 pm

Re: Search Commands

Post by void »

Everything 1.5.0.1364a makes the following changes:

/eval and /= will no longer auto cast to a double result.
Use a value with a decimal to cast to floating point.
void
Developer
Posts: 16698
Joined: Fri Oct 16, 2009 11:31 pm

Re: Search Commands

Post by void »

Everything 1.5.0.1367a adds the following search commands:

/add-col
/add-column
/add-columns
/columns
/remove-column
/remove-columns
/maximize
/minimize
/search_edit_paste [remove-punctuation] [or-newlines] [multiline-type] [multiline_group]
void
Developer
Posts: 16698
Joined: Fri Oct 16, 2009 11:31 pm

Re: Search Commands

Post by void »

void
Developer
Posts: 16698
Joined: Fri Oct 16, 2009 11:31 pm

Re: Search Commands

Post by void »

Everything 1.5.0.1374a adds the following search commands.

/columns (added support for json array of column objects)
/search_edit_paste (added support for raw text)
/comment
/set-search (alias)
void
Developer
Posts: 16698
Joined: Fri Oct 16, 2009 11:31 pm

Re: Search Commands

Post by void »

Locked