# Find

The **Find** internal command can be used to:

* Display the [Find Panel](../../../basic_concepts/searching_and_filtering/find_files) where you can perform file searches
* Automate the Find Files function to perform simple searches without displaying a user interface
* Automate the [Duplicate File Finder](../../../additional_functionality/duplicate_file_finder) function

**Command Arguments:**

<table><thead><tr><th>Argument</th><th>Type</th><th>Possible values</th><th>Description</th></tr></thead><tbody><tr><td><em>(no argument)</em></td><td>-</td><td>-</td><td><p>Display the Find Panel. It will open in whichever mode you last used it.</p><p><em>Example:</em> <code>Find</code></p></td></tr><tr><td>ADVANCED</td><td>/S</td><td><em>(no value)</em></td><td><p>Display the Find Panel in <a href="../../../basic_concepts/searching_and_filtering/find_files/advanced_find">Advanced</a> mode.</p><p><em>Example:</em> <code>Find ADVANCED</code></p></td></tr><tr><td>ANYWORD</td><td>/S</td><td><em>(no value)</em></td><td><p>Use when automating Find Files to enable the <em>Any Word</em> option for name searching.<br>For example, if this was turned on and you used "cat dog" as the <strong>NAME</strong> argument, Opus would match filenames containing "cat" or "dog" (or both, in any order). This saves you having to construct complicated OR wildcard patterns.</p><p><em>Example:</em> <code>Find NAME="cat dog" ANYWORD RECURSE IN "c:\\</code></p></td></tr><tr><td>ARCHIVES</td><td>/S</td><td><em>(no value)</em></td><td><p>Search inside archive files (when the Find Files function is being automated).</p><p><em>Example:</em> <code>Find *.doc IN C:\Data ARCHIVES</code></p></td></tr><tr><td>BOTHWAYS</td><td>/S</td><td><em>(no value)</em></td><td><p>When automating the Synchronize tool with the <strong>SYNC</strong> argument, this lets you turn on the <strong>Copy files in both directions</strong> option.</p><p>//<a href="example://">Example://</a> See the <strong>SYNC</strong> argument for an example.</p></td></tr><tr><td>CASE</td><td>/S</td><td><em>(no value)</em></td><td><p>Use when automating Find Files to specify that the <strong>NAME</strong> argument should be treated as case-sensitive, similar to the related checkbox in the UI.</p><p><em>Example:</em> <code>Find *.DOC IN C:\ RECURSE CASE</code></p></td></tr><tr><td>CLEAR</td><td>/O</td><td><em>(no value)</em></td><td><p>Clear previous results (when the Find Files function is being automated). The output file collection will be cleared before the new Find begins.</p><p><em>Example:</em> <code>Find *.doc IN C:\Data CLEAR</code></p></td></tr><tr><td></td><td></td><td><strong>no</strong></td><td><p>Do not clear previous results.</p><p><em>Example:</em> <code>Find *.doc in C:\Data CLEAR=no</code></p></td></tr><tr><td>COLLNAME</td><td>/K</td><td><em>&#x3C;collection name></em></td><td><p>Specify the name of the file collection that results are added to. If not supplied the default collections (<em>Find Results</em> and <em>Duplicate Files</em>) are used.</p><p><em>Example:</em> <code>Find *.doc in C:\Data COLLNAME Output</code></p></td></tr><tr><td>COLUMN</td><td>/K</td><td><em>&#x3C;column name></em></td><td><p>When automating the duplicate finder tool with the <code>DUPES</code> argument, specifies that duplicates should be matched using the value of a specific column.</p><p><em>Example:</em> <code>Find IN C:\Data DUPES COLUMN=createddate</code></p></td></tr><tr><td></td><td></td><td><strong>name</strong></td><td><p>Match duplicates by name as well as the value of the specified column</p><p><em>Example:</em> <code>Find IN C:\Data DUPES COLUMN=createddate,name</code></p></td></tr><tr><td></td><td></td><td><strong>size</strong></td><td><p>Match duplicates by size as well as the value of the specified column</p><p><em>Example:</em> <code>Find IN C:\Data DUPES COLUMN=createddate,name,size</code></p></td></tr><tr><td>COMPARE</td><td>/K</td><td><strong>size</strong></td><td><p>When automating the Synchronize tool with the <strong>SYNC</strong> argument, this lets you select to compare files by size. By default it will look for different sizes; you can also specify <strong>size,smaller</strong> or <strong>size,larger</strong>.</p><p>//<a href="example://">Example://</a> See the <strong>SYNC</strong> argument for an example.</p></td></tr><tr><td></td><td></td><td><strong>date</strong></td><td>When automating the Synchronize tool with the <strong>SYNC</strong> argument, this lets you select to compare files by date. By default it will look for different dates; you can also specify <strong>newer</strong>. This can also be combined with <strong>size</strong>.</td></tr><tr><td></td><td></td><td><strong>compare</strong></td><td>When automating the Synchronize tool with the <strong>SYNC</strong> argument, this lets you select to compare files by comparing the file data (hash).</td></tr><tr><td>COMPUTERS</td><td>/S</td><td><em>(no value)</em></td><td><p>Launch the Windows <em>Search for Computers</em> function (depending on your version of Windows, this may have no effect).</p><p><em>Example:</em> <code>Find COMPUTERS</code></p></td></tr><tr><td>CONTAINING</td><td>/K</td><td><em>&#x3C;search text></em></td><td><p>Specify text to search for (when the Find Files function is being automated).</p><p><em>Example:</em> <code>Find *.txt CONTAINING printf IN C:\SourceCode</code></p></td></tr><tr><td>CONTANYWORD</td><td>/S</td><td><em>(no value)</em></td><td><p>Use when automating Find Files to specify that the <strong>CONTAINING</strong> argument should be handled in "any word" mode, similar to the related checkbox in the UI.</p><p><em>Example:</em> <code>Find *.txt CONTAINING "apple pear peach plum" CONTANYWORD IN C:\Inventory</code></p></td></tr><tr><td>CONTCASE</td><td>/S</td><td><em>(no value)</em></td><td><p>Use when automating Find Files to specify that the <strong>CONTAINING</strong> argument should be treated as case-sensitive, similar to the related checkbox in the UI.</p><p><em>Example:</em> <code>Find *.txt CONTAINING Apple CONTCASE IN C:\Inventory</code></p></td></tr><tr><td>CONTIGNOREDIACRITICS</td><td>/S</td><td><em>(no value)</em></td><td><p>Use when automating Find Files to specify that the <strong>CONTAINING</strong> argument should ignore diacritics (accent marks), similar to the related checkbox in the UI.</p><p><em>Example:</em> <code>Find *.txt CONTAINING "aeiou" CONTIGNOREDIACRITICS IN C:\Documents</code></p></td></tr><tr><td>CONTNOPARTIAL</td><td>/S</td><td><em>(no value)</em></td><td><p>Use when automating Find Files to prevent partial word matching for the <strong>CONTAINING</strong> argument (contents must then match the pattern you specify exactly).</p><p><em>Example:</em> <code>Find "moo\*cow" IN "c:\ RECURSE CONTNOPARTIAL</code></p></td></tr><tr><td>CONTWILD</td><td>/S</td><td><em>(no value)</em></td><td><p>Use when automating Find Files to specify that the <strong>CONTAINING</strong> argument should be treated as a wildcard, similar to the related checkbox in the UI.</p><p><em>Example:</em> <code>Find *.txt CONTAINING (foo|bar) CONTWILD IN C:\Things</code></p></td></tr><tr><td>CONTREGEXP</td><td>/S</td><td><em>(no value)</em></td><td><p>Use when automating the Find Files function to specify that the <strong>CONTAINING</strong> argument should use <a href="../../../file_operations/renaming_files/advanced_rename/rename_modes/regular_expressions">regular expressions</a>, similar to the related checkbox in the UI.</p><p><em>Example:</em> <code>Find *.txt CONTAINING "Mr(s?) Bond" CONTREGEXP IN C:\ RECURSE</code></p></td></tr><tr><td>CONTUTF8</td><td>/S</td><td><em>(no value)</em></td><td><p>When automating the Find Files function, plain text files will be assumed to be UTF-8 if no BOM is detected (similar to the related checkbox in the UI).</p><p><em>Example:</em> <code>Find *.txt CONTAINING printf IN C:\SourceCode CONTUTF8</code></p></td></tr><tr><td>DELETE</td><td>/O</td><td><em>(no value)</em></td><td><p>When automating the Synchronize tool with the <strong>SYNC</strong> argument, this lets you turn on the <strong>Delete destination files that aren't in the source</strong> option.</p><p>//<a href="example://">Example://</a> See the <strong>SYNC</strong> argument for an example.</p></td></tr><tr><td></td><td></td><td><strong>first</strong></td><td>Also turns on the <strong>Delete before copy</strong> option.</td></tr><tr><td>DSTCOMPENSATION</td><td>/S</td><td><em>(no value)</em></td><td><p>When automating the Synchronize tool with the <strong>SYNC</strong> argument, this lets you select to ignore one hour time differences (daylight savings time) when comparing timestamps.</p><p>//<a href="example://">Example://</a> See the <strong>SYNC</strong> argument for an example.</p></td></tr><tr><td>DUPES</td><td>/S</td><td><em>(no value)</em></td><td><p>Automates the Duplicate File Finder.</p><p><em>Example:</em> <code>Find IN C:\Data DUPES</code></p></td></tr><tr><td>EXCLUDEHIDDEN</td><td>/O</td><td><em>(no value)</em></td><td><p>Excludes hidden folders (those with the <strong>H</strong> attribute set) from the search.</p><p><em>Example:</em> <code>Find *.txt IN D:\ EXCLUDEHIDDEN</code></p></td></tr><tr><td></td><td></td><td><strong>no</strong></td><td><p>Does not exclude hidden folders. Use this to override a saved preset.</p><p><em>Example:</em> <code>Find PRESET=DocFiles EXCLUDEHIDDEN=no IN \\storage\data</code></p></td></tr><tr><td>EXCLUDESYSTEM</td><td>/O</td><td><em>(no value)</em></td><td><p>Excludes system folders (those with the <strong>H</strong> and <strong>S</strong> attributes set) from the search.</p><p><em>Example:</em> <code>Find *.exe IN C:\ EXCLUDESYSTEM</code></p></td></tr><tr><td></td><td></td><td><strong>no</strong></td><td><p>Does not exclude system folders. Use this to override a saved preset.</p><p><em>Example:</em> <code>Find *.exe IN C:\ EXCLUDESYSTEM=no</code></p></td></tr><tr><td>FILTER</td><td>/S</td><td><em>(no value)</em></td><td><p>Indicates that the value of the <strong>NAME</strong> argument is the name of a <a href="../../../preferences/preferences_categories/filtering_and_sorting/filters">pre-defined filter</a>. This lets you automate more complex searches than just those based on filename and containing text.</p><p><em>Example:</em> <code>Find NAME image_files IN C:\Pictures FILTER</code></p></td></tr><tr><td>FILTERDEF</td><td>/K/R</td><td><em>&#x3C;filter></em></td><td><p>Lets you define a filter in <a href="../../../file_operations/filtered_operations/textual_filters">text format</a>. Similar to the <strong>FILTER</strong> argument, you can automate more complex searches than just those based on filename and containing text - however the filter does not need to be predefined.</p><p>This is a <strong>/R</strong> argument and so everything after the <strong>FILTERDEF</strong> keyword will be treated as the argument's value.</p><p><em>Example:</em> <code>Find FILTERDEF name match *.zip and size match > 2 mb</code></p></td></tr><tr><td>FROM</td><td>/K</td><td><em>&#x3C;path></em></td><td><p>When automating the Synchronize tool with the <strong>SYNC</strong> argument, this lets you specify the folder that is the source of the synchronize operation.</p><p>//<a href="example://">Example://</a> See the <strong>SYNC</strong> argument for an example.</p></td></tr><tr><td>HERE</td><td>/S</td><td><em>(no value)</em></td><td><p>When automating the Find tool, performs the search below the current folder.</p><p><em>Example:</em> <code>Find NAME *.txt HERE</code></p></td></tr><tr><td>HIDEUNAFFECTED</td><td>/S</td><td><em>(no value)</em></td><td><p>When automating the Synchronize tool with the <strong>SYNC</strong> argument, this lets you select to hide unaffected files once the comparison process has run.</p><p>//<a href="example://">Example://</a> See the <strong>SYNC</strong> argument for an example.</p></td></tr><tr><td>IGNOREDIACRITICS</td><td>/S</td><td><em>(no value)</em></td><td><p>Use when automating Find Files to specify that the <strong>NAME</strong> argument should ignore diacritics (accent marks), similar to the related checkbox in the UI.</p><p><em>Example:</em> <code>Find (\[aeiou\]+)\\txt IGNOREDIACRITICS REGEXP IN C:\Documents</code></p></td></tr><tr><td>IGNORELINKS</td><td>/S</td><td><em>(no value)</em></td><td><p>When automating the <a href="../../../additional_functionality/duplicate_file_finder">Duplicate File Finder</a>, this lets you turn on the <strong>Ignore hard links</strong> option.</p><p><em>Example:</em> <code>Find IN C:\Data DUPES IGNORELINKS</code></p></td></tr><tr><td>IGNORESECONDS</td><td>/S</td><td><em>(no value)</em></td><td><p>When automating the Synchronize tool with the <strong>SYNC</strong> argument, this lets you select to ignore seconds when comparing timestamps.</p><p>//<a href="example://">Example://</a> See the <strong>SYNC</strong> argument for an example.</p></td></tr><tr><td>IN</td><td>/K/M</td><td><em>&#x3C;search location> ...</em></td><td><p>Specify the folder or folders to search in when automating a search. Remember that if the paths contain a space you must enclose the value in quotes.</p><p><em>Example:</em> <code>Find *.txt IN "C:\Folder 1" "C:\Folder 2"</code></p></td></tr><tr><td>LOADPREV</td><td>/K</td><td><strong>no</strong></td><td><p>Disable the loading of previous find settings when the Find panel opens. By default, the Find panel will remember its previous settings when it opens unless it has been invoked via an automated search (i.e with both <strong>IN</strong> and <strong>NAME</strong> arguments specified). Use this argument to prevent the command ever remembering its previous settings.</p><p><em>Example:</em> <code>Find LOADPREV=no</code></p></td></tr><tr><td></td><td></td><td><strong>yes</strong></td><td><p>Force the Find panel to load its previous settings even when opened by an automated search. This does not restore multiple search paths, however - <strong>LOADPREV=all</strong> must be specified for that.</p><p><em>Example:</em> <code>Find *.txt IN "C:\Folder 1" LOADPREV=yes</code></p></td></tr><tr><td></td><td></td><td><strong>all</strong></td><td><p>Forces the Find panel to remember its previous settings, and also restores all paths that were previously listed in the search list.</p><p><em>Example:</em> <code>Find LOADPREV=all</code></p></td></tr><tr><td>MD5</td><td>/O</td><td><em>(no value)</em></td><td><p>Search for duplicates using the MD5 checksum (used with the <strong>DUPES</strong> argument). The default behaviour is to search based on filename and size.</p><p><em>Example:</em> <code>Find IN C:\Data DUPES MD5</code></p></td></tr><tr><td></td><td></td><td><em>&#x3C;percentage></em></td><td><p>Only calculate checksums based on a percentage of the file's contents. This can dramatically speed up duplicate checking for large files, at the expense of some accuracy.</p><p><em>Example:</em> <code>Find IN C:\Data DUPES MD5=75</code></p></td></tr><tr><td></td><td></td><td><strong>cache</strong></td><td><p>Use the checksum cache for large files. If a file's checksum has previously been cached and the file does not appear to have changed, the cached value will be used instead of recalculating its checksum.</p><p><em>Example:</em> <code>Find IN C:\Downloads DUPES MD5=cache,50</code></p></td></tr><tr><td>MINSIZE</td><td>/K/N</td><td><em>&#x3C;size></em></td><td><p>When automating the <a href="../../../additional_functionality/duplicate_file_finder">Duplicate File Finder</a>, this lets you set the value of the <strong>Minimum size</strong> field. The value is given in kilobytes.</p><p><em>Example:</em> <code>Find IN C:\Data DUPES MD5 MINSIZE=500</code></p></td></tr><tr><td>NAME</td><td></td><td><em>&#x3C;filename></em></td><td><p>This is the default argument for the <strong>Find</strong> command, which means you do not need to use the <strong>NAME</strong> keyword before it (unless you are searching for a word which is recognized as another argument keyword).</p><p>Specify the filename or wildcard pattern to search for. To automate the Find Files function you must specify both the <strong>NAME</strong> argument, and the location to search using the <strong>IN</strong> argument.</p><p>The <strong>NOWILD</strong>, <strong>ANYWORD</strong> and <strong>NOPARTIAL</strong> arguments can be used to control whether or not wildcards, "any word" or partial matching are used when searching names, similar to the checkboxes in the UI.</p><p>You can start the wildcard pattern with <strong>regex:</strong> to use <a href="../../../file_operations/renaming_files/advanced_rename/rename_modes/regular_expressions">regular expressions</a> instead of wildcards. (Do not specify the <strong>NOWILD</strong> argument in this case.)</p><p>You can also search using a pre-defined filter by providing the filter name for the <strong>NAME</strong> argument and also specifying the <strong>FILTER</strong> switch.</p><p><em>Example:</em> <code>Find *.(doc|txt|bmp) IN C:\ RECURSE ARCHIVES</code><br><em>Example:</em> <code>Find regex:foo.+bar\\txt IN C:\ RECURSE</code><br><em>Example:</em> <code>Find NAME="Text File (1).txt" NOWILD IN C:\ RECURSE</code></p><p>When used with the <strong>DUPES</strong> argument, this lets you provide a filename filter for the duplicates search. When used like this, you can specify a regular expression pattern by prefixing the wildcard with the <strong>regex:</strong> prefix.</p><p><em>Example:</em> <code>Find *.pdf IN C:\Documents RECURSE CLEAR MD5 DUPES</code></p></td></tr><tr><td>NAMEONLY</td><td>/O</td><td><em>(no value)</em></td><td><p>Search for duplicates based on filename only (used with the <strong>DUPES</strong> argument). The default behaviour is to search based on filename and size.</p><p><em>Example:</em> <code>Find IN C:\Data DUPES NAMEONLY</code></p></td></tr><tr><td></td><td></td><td><strong>noext</strong></td><td><p>Search for duplicates based on filename only, ignoring their file extensions.</p><p><em>Example:</em> <code>Find IN C:\Data DUPES NAMEONLY=noext</code></p></td></tr><tr><td>NOAUTORUN</td><td>/S</td><td><em>(no value)</em></td><td><p>Lets you prevent an automated search from taking place - instead, the Find, Duplicates or Synchronize panel will open with the controls initialised but allow you to make further changes before starting the search. For example, when both the <strong>NAME</strong> and <strong>IN</strong> arguments are provided, the Find Files operation normally begins automatically. To prevent this, specify the <strong>NOAUTORUN</strong> argument as well.</p><p><em>Example:</em> <code>Find *.doc IN /mydocuments RECURSE NOAUTORUN</code></p></td></tr><tr><td>NOPARTIAL</td><td>/S</td><td><em>(no value)</em></td><td><p>Use when automating Find Files to prevent partial name matching (names must then match the pattern you specify exactly).</p><p><em>Example:</em> <code>Find *.bak IN "c:\ RECURSE NOPARTIAL</code></p></td></tr><tr><td>NOWILD</td><td>/S</td><td><em>(no value)</em></td><td><p>Use when automating Find Files to prevent wildcard name matching. Like the similar checkbox in the UI.</p><p><em>Example:</em> <code>Find "File (1).txt" IN "c:\ RECURSE NOWILD</code></p></td></tr><tr><td>NUMBERGROUPS</td><td>/S</td><td><em>(no value)</em></td><td><p>The <strong>Duplicate Finder</strong> creates groups for each set of duplicate files found, and normally these groups are named after the criteria used for the duplicate search. If you turn this option on then each group of duplicates will be numbered (from 1 to <em>X</em>, in the order they are found).</p><p><em>Example:</em> <code>Find IN C:\Data DUPES MD5 NUMBERGROUPS</code></p></td></tr><tr><td>OF</td><td>/K/M</td><td><em>&#x3C;file to match> ...</em></td><td><p>Specifies one or more files to search for duplicates of. If you don't use this argument, all duplicate files in the specified locations will be found. Remember that if the file path you are providing contains spaces, you must enclose the value in quotes.</p><p><em>Example:</em> <code>Find DUPES OF C:\Report.txt IN C:\Backups MD5</code></p></td></tr><tr><td>OFFLINE</td><td>/S</td><td><em>(no value)</em></td><td><p>When automating the <a href="../../../additional_functionality/duplicate_file_finder">Duplicate File Finder</a>, this lets you turn off the <strong>Ignore offline files</strong> option (the default for this option is on).</p><p><em>Example:</em> <code>Find IN E:\TapeBackup DUPES OFFLINE</code></p></td></tr><tr><td>ONLYEXISTING</td><td>/S</td><td><em>(no value)</em></td><td><p>When automating the Synchronize tool with the <strong>SYNC</strong> argument, this lets you select to only synchronize existing files.</p><p>//<a href="example://">Example://</a> See the <strong>SYNC</strong> argument for an example.</p></td></tr><tr><td>PRESET</td><td>/K</td><td><em>&#x3C;preset name></em></td><td><p>Loads the specified Find, Synchronize or Duplicates preset. Other arguments you provide will override the preset settings - for example, you can use the <strong>IN</strong> argument to override the search path. Specify the <strong>NOAUTORUN</strong> argument to prevent the operation from starting automatically.</p><p><em>Example:</em> <code>Find PRESET=ImageFiles IN=D:\Downloads</code></p></td></tr><tr><td></td><td></td><td><strong>!list</strong></td><td><p>Generates a list of saved presets (acts as a <a href="../../../customize/creating_your_own_buttons/editing_the_toolbar/dynamic_buttons">dynamic button</a>). Selecting an item from the list will open the appropriate panel and run the specified preset.</p><p><em>Example:</em> <code>Find PRESET=!list DUPES</code></p></td></tr><tr><td></td><td></td><td><strong>faves</strong></td><td><p>Modifies the generated list of presets to only display those you have marked as favorites.</p><p><em>Example:</em> <code>Find PRESET=!list,faves</code></p></td></tr><tr><td></td><td></td><td><strong>nofaves</strong></td><td><p>Modifies the generated list of presets to exclude those you have marked as favorites.</p><p><em>Example:</em> <code>Find SYNC PRESET=!list,nofaves</code></p></td></tr><tr><td></td><td></td><td><strong>nogroups</strong></td><td><p>Displays the generated list of presets as a flat list rather than separating them up into any groups you may have created.</p><p><em>Example:</em> <code>Find PRESET=!list,nofaves,nogroups</code></p></td></tr><tr><td>QUERY</td><td>/K/R</td><td><em>&#x3C;query string></em></td><td><p>Performs a search in the specified location using the <a href="../../../basic_concepts/searching_and_filtering/windows_search">Windows Search</a> system.</p><p>If used on its own, without other arguments, it is like typing a query string into the search field at the top-right of the lister to search below the current folder. You can also run a Windows Search query on a specified folder or into a custom results collection.</p><p>Everything which follows the <strong>QUERY</strong> argument will be passed to Windows Search as the query string, so it <em>must</em> be the last argument to the command.</p><p><em>Example:</em> <code>Find QUERY filename:*.doc author:"Leo Davidson"</code><br><em>Example:</em> <code>Find IN "C:\Documents" COLLNAME "Leo's Docs" QUERY filename:*.doc author:"Leo Davidson"</code></p></td></tr><tr><td>RECURSE</td><td>/O</td><td><em>(no value)</em></td><td><p>When automating the Find Files, Duplicate File Finder or Synchronize Files functions, the search will extend into sub-folders below the specified locations.</p><p><em>Example:</em> <code>Find IN C:\Data DUPES RECURSE</code></p></td></tr><tr><td></td><td></td><td><strong>no</strong></td><td><p>Prevent the search from extending into sub-folders.</p><p><em>Example:</em> <code>Find IN C:\Data DUPES RECURSE=no</code></p></td></tr><tr><td>REGEXP</td><td>/S</td><td><em>(no value)</em></td><td><p>When automating the Find Files function, enables <a href="../../../file_operations/renaming_files/advanced_rename/rename_modes/regular_expressions">regular expressions</a> for the value of the <strong>NAME</strong> field.</p><p><em>Example:</em> <code>Find "foo.+bar\\txt" IN C:\ RECURSE REGEXP</code></p></td></tr><tr><td>RUNINPANEL</td><td>/S</td><td><em>(no value)</em></td><td><p>Normal automation of the <strong>Find</strong> command causes it to run in the background, without a visible user interface. The <strong>RUNINPANEL</strong> argument lets you open the Duplicate Finder or Synchronize panel, initialise it with other arguments (including loading a preset), and then automatically start the operation in the user interface, exactly the same as clicking the "go" button manually.</p><p>Contrast this with <strong>NOAUTORUN</strong> which will open the panel but not start the operation.</p><p><em>Example:</em> <code>Find IN C:\Data DUPES RUNINPANEL</code></p></td></tr><tr><td>SAVEQUERY</td><td>/S</td><td><em>(no value)</em></td><td><p>When you are currently viewing the results of a <a href="../../../basic_concepts/searching_and_filtering/windows_search">Windows Search</a> query, this command will save the search as a <a href="../../../basic_concepts/virtual_file_system/file_collections/stored_queries">stored query collection</a>.</p><p><em>Example:</em> <code>Find SAVEQUERY</code></p></td></tr><tr><td>SHOWRESULTS</td><td>/K</td><td><strong>source</strong></td><td><p>Display the results of the automated search in the current source file display or Lister.</p><p><em>Example:</em> <code>Find *.txt IN C:\ RECURSE SHOWRESULTS=source</code></p></td></tr><tr><td></td><td></td><td><strong>dest</strong></td><td><p>Display the results in the destination file display.</p><p><em>Example:</em> <code>Find *.jpg IN C:\Data SHOWRESULTS=dest</code></p></td></tr><tr><td></td><td></td><td><strong>tab</strong></td><td><p>Display the results in a new tab. You can combine this with the <strong>source</strong> or <strong>dest</strong> arguments.</p><p><em>Example:</em> <code>Find IN C:\Data DUPES RECURSE SHOWRESULTS dest,tab</code></p></td></tr><tr><td>SIMPLE</td><td>/S</td><td><em>(no value)</em></td><td><p>Display the Find Panel in <a href="../../../basic_concepts/searching_and_filtering/find_files/simple_find">simple mode</a>.</p><p><em>Example:</em> <code>Find SIMPLE</code></p></td></tr><tr><td>SIZEONLY</td><td>/S</td><td><em>(no value)</em></td><td><p>Search for duplicates based on file size only (used with the <strong>DUPES</strong> argument). The default behaviour is to search based on filename and size.</p><p><em>Example:</em> <code>Find IN C:\Data DUPES SIZEONLY</code></p></td></tr><tr><td>SYNC</td><td>/O</td><td><em>(no value)</em></td><td><p>In conjunction with other arguments, this lets you automate the <a href="../../../file_operations/copying_moving_and_deleting_files/copying_updated_files/synchronize">Synchronize</a> tool. The other relevant arguments are <strong>FROM</strong>, <strong>TO</strong>, <strong>BOTHWAYS</strong>, <strong>DELETE</strong>, <strong>COMPARE</strong>, <strong>IGNORESECONDS</strong>, <strong>DSTCOMPENSATION</strong>, <strong>HIDEUNAFFECTED</strong>, <strong>ONLYEXISTING</strong>.</p><p>This process requires the use of multiple commands. <code>Find SYNC</code> performs the initial step in the synchronize process - the comparison. You then need to use <code>Copy SYNC</code> to perform any copying required. Finally, <code>Set CLEARSYNC</code> can be used to exit synchronize mode once finished.</p><p>//<a href="example://">Example://</a></p><pre><code>Find SYNC FROM "D:\Work" TO "D:\Backups" RECURSE COMPARE=newer HIDEUNAFFECTED
Copy SYNC
Set CLEARSYNC
</code></pre></td></tr><tr><td></td><td></td><td><strong>ltr</strong></td><td>Performs the synchronize from left-to-right rather than source-to-destination.</td></tr><tr><td>TO</td><td>/K</td><td><em>&#x3C;path></em></td><td><p>When automating the Synchronize tool with the <strong>SYNC</strong> argument, this lets you specify the folder that is the destination of the synchronize operation.</p><p>//<a href="example://">Example://</a> See the <strong>SYNC</strong> argument for an example.</p></td></tr><tr><td>UAC</td><td>/O</td><td><em>(no value)</em></td><td><p>Enables UAC prompts if elevation may be required to search inside folders.</p><p>``Find *.txt UAC IN D:\`</p></td></tr><tr><td></td><td></td><td><strong>no</strong></td><td><p>Suppresses UAC prompts, skipping folders you don't have access to. (This is the default, so it doesn't normally need specifying. Can be useful if you want to override a preset which enables UAC prompts.)</p><p>``Find PRESET=DocFiles UAC=no IN D:\`</p></td></tr></tbody></table>
