<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://script.quakenet.org/wiki/index.php?action=history&amp;feed=atom&amp;title=%24finddir</id>
	<title>$finddir - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://script.quakenet.org/wiki/index.php?action=history&amp;feed=atom&amp;title=%24finddir"/>
	<link rel="alternate" type="text/html" href="https://script.quakenet.org/wiki/index.php?title=$finddir&amp;action=history"/>
	<updated>2026-05-15T01:05:12Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.0</generator>
	<entry>
		<id>https://script.quakenet.org/wiki/index.php?title=$finddir&amp;diff=4802&amp;oldid=prev</id>
		<title>Aca20031: Clarified N</title>
		<link rel="alternate" type="text/html" href="https://script.quakenet.org/wiki/index.php?title=$finddir&amp;diff=4802&amp;oldid=prev"/>
		<updated>2008-05-10T18:19:00Z</updated>

		<summary type="html">&lt;p&gt;Clarified N&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 18:19, 10 May 2008&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l5&quot;&gt;Line 5:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 5:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Dir is the directory to start the search in.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Dir is the directory to start the search in.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Wildcard is the wildcard matchtext to attempt to match against directory names.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Wildcard is the wildcard matchtext to attempt to match against directory names.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* N is the number of &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;directories &lt;/del&gt;to &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;return&lt;/del&gt;. 0 &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;for &lt;/del&gt;all possible.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* N is the number of &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;matches &lt;/ins&gt;to &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;attempt to make. If N&amp;gt;0, the Nth file found matching the wildcard will be returned&lt;/ins&gt;. &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;If N=&lt;/ins&gt;0 all possible &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;matches are made and the number of matches is returned&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Depth is the number of subdirectories deep to search. This is optional, and will be infinite unless specified.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Depth is the number of subdirectories deep to search. This is optional, and will be infinite unless specified.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* @window is optional. If specified, it will print all directory results into the given window&amp;#039;s listbox. The window &amp;#039;&amp;#039;&amp;#039;must&amp;#039;&amp;#039;&amp;#039; have a listbox.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* @window is optional. If specified, it will print all directory results into the given window&amp;#039;s listbox. The window &amp;#039;&amp;#039;&amp;#039;must&amp;#039;&amp;#039;&amp;#039; have a listbox.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Aca20031</name></author>
	</entry>
	<entry>
		<id>https://script.quakenet.org/wiki/index.php?title=$finddir&amp;diff=2524&amp;oldid=prev</id>
		<title>Aca20031 at 18:02, 10 May 2008</title>
		<link rel="alternate" type="text/html" href="https://script.quakenet.org/wiki/index.php?title=$finddir&amp;diff=2524&amp;oldid=prev"/>
		<updated>2008-05-10T18:02:48Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Searches the specified directory for directories matching the wild card given.&lt;br /&gt;
&lt;br /&gt;
 $finddir(dir,wildcard,N [,depth] [,@window | command])[ .[[$shortfn|shortfn]] ]&lt;br /&gt;
&lt;br /&gt;
* Dir is the directory to start the search in.&lt;br /&gt;
* Wildcard is the wildcard matchtext to attempt to match against directory names.&lt;br /&gt;
* N is the number of directories to return. 0 for all possible.&lt;br /&gt;
* Depth is the number of subdirectories deep to search. This is optional, and will be infinite unless specified.&lt;br /&gt;
* @window is optional. If specified, it will print all directory results into the given window&amp;#039;s listbox. The window &amp;#039;&amp;#039;&amp;#039;must&amp;#039;&amp;#039;&amp;#039; have a listbox.&lt;br /&gt;
* Command is optional. If specified, it will perform a command for every possible match. [[$1-]] will be the directory found.&lt;br /&gt;
* .shortfn is optional. If specified, it will return the short version of the path. See [[$shortfn]] for a brief explanation.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
 alias listdirs { [[window]] -l @list | [[noop]] $finddir([[$disk]](1).path,*,0,@list) }&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
[[$finddirn]]&lt;br /&gt;
&lt;br /&gt;
[[Category:File and Directory Identifiers]]&lt;/div&gt;</summary>
		<author><name>Aca20031</name></author>
	</entry>
</feed>