<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://forum.eggheads.org/app.php/feed/topic/12352" />

	<title>egghelp/eggheads community</title>
	<subtitle>Discussion of eggdrop bots, shell accounts and tcl scripts.</subtitle>
	<link href="https://forum.eggheads.org/index.php" />
	<updated>2006-08-28T13:56:29-04:00</updated>

	<author><name><![CDATA[egghelp/eggheads community]]></name></author>
	<id>https://forum.eggheads.org/app.php/feed/topic/12352</id>

		<entry>
		<author><name><![CDATA[metroid]]></name></author>
		<updated>2006-08-28T13:56:29-04:00</updated>

		<published>2006-08-28T13:56:29-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=65925#p65925</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=65925#p65925"/>
		<title type="html"><![CDATA[How many Files in Folder?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=65925#p65925"><![CDATA[
Why use incr?<br><div class="codebox"><p>Code: </p><pre><code>proc filecount {file} {  return [llength [glob -nocomplain $file]]}</code></pre></div>Could be used with [filecount /home/myuser/*.something]<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5078">metroid</a> — Mon Aug 28, 2006 1:56 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Access]]></name></author>
		<updated>2006-08-28T11:21:28-04:00</updated>

		<published>2006-08-28T11:21:28-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=65922#p65922</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=65922#p65922"/>
		<title type="html"><![CDATA[How many Files in Folder?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=65922#p65922"><![CDATA[
very nice! thx!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7832">Access</a> — Mon Aug 28, 2006 11:21 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[krimson]]></name></author>
		<updated>2006-08-28T10:21:29-04:00</updated>

		<published>2006-08-28T10:21:29-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=65921#p65921</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=65921#p65921"/>
		<title type="html"><![CDATA[How many Files in Folder?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=65921#p65921"><![CDATA[
for the first question:<div class="codebox"><p>Code: </p><pre><code>set filenum 0foreach entry [glob -directory /filebase/ *.moep] {  incr filenum}return $filenum</code></pre></div>and for the second:<div class="codebox"><p>Code: </p><pre><code>foreach entry [glob -directory /filebase/ *.moep] {  file delete $entry}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7663">krimson</a> — Mon Aug 28, 2006 10:21 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Access]]></name></author>
		<updated>2006-08-28T10:10:26-04:00</updated>

		<published>2006-08-28T10:10:26-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=65920#p65920</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=65920#p65920"/>
		<title type="html"><![CDATA[How many Files in Folder?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=65920#p65920"><![CDATA[
I want to know how many files with ending *.moep are in /filebase/ folder...<br><br>How? ^^ (Too short? dont know how to explain...)<br><br><br><br>2nd question - no extra thread:<br><br>how to delete all files with ending *.moep in /filebase/ folder...?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7832">Access</a> — Mon Aug 28, 2006 10:10 am</p><hr />
]]></content>
	</entry>
	</feed>
