<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://miniscript.org/w/index.php?action=history&amp;feed=atom&amp;title=File.info</id>
	<title>File.info - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://miniscript.org/w/index.php?action=history&amp;feed=atom&amp;title=File.info"/>
	<link rel="alternate" type="text/html" href="http://miniscript.org/w/index.php?title=File.info&amp;action=history"/>
	<updated>2026-05-03T21:39:36Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.34.0</generator>
	<entry>
		<id>http://miniscript.org/w/index.php?title=File.info&amp;diff=613&amp;oldid=prev</id>
		<title>JoeStrout: Created page with &quot;The &lt;c&gt;file.info&lt;/c&gt; method returns a map of details about an existing file or directory at the given path.  === Arguments ===  {| class=&quot;wikitable&quot; |- ! Parameter Nam...&quot;</title>
		<link rel="alternate" type="text/html" href="http://miniscript.org/w/index.php?title=File.info&amp;diff=613&amp;oldid=prev"/>
		<updated>2021-01-05T21:09:23Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;The &amp;lt;c&amp;gt;&lt;a href=&quot;/wiki/File&quot; title=&quot;File&quot;&gt;file&lt;/a&gt;.info&amp;lt;/c&amp;gt; method returns a &lt;a href=&quot;/wiki/Map&quot; title=&quot;Map&quot;&gt;map&lt;/a&gt; of details about an existing file or directory at the given path.  === Arguments ===  {| class=&amp;quot;wikitable&amp;quot; |- ! Parameter Nam...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;The &amp;lt;c&amp;gt;[[file]].info&amp;lt;/c&amp;gt; method returns a [[map]] of details about an existing file or directory at the given path.&lt;br /&gt;
&lt;br /&gt;
=== Arguments ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Parameter Name !! Default Value !! Meaning&lt;br /&gt;
|-&lt;br /&gt;
| path || &amp;quot;&amp;quot; || file name, partial path, or absolute path to file of interest&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
If given a file name or partial path, it will be interpreted relative to the current working directory (see &amp;lt;c&amp;gt;[[file.curdir]]&amp;lt;/c&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
=== Result ===&lt;br /&gt;
&lt;br /&gt;
If the specified file exists, &amp;lt;c&amp;gt;file.info&amp;lt;/c&amp;gt; returns a map with the following entries:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Key !! Example Value !! Meaning&lt;br /&gt;
|-&lt;br /&gt;
| &amp;quot;path&amp;quot; || &amp;quot;/usr/data/test.txt&amp;quot; || full path to the file/directory&lt;br /&gt;
|-&lt;br /&gt;
| &amp;quot;isDirectory&amp;quot; || 0 || 1 if a directory, 0 if an ordinary file&lt;br /&gt;
|-&lt;br /&gt;
| &amp;quot;size&amp;quot; || 13 || size of the file, in bytes (0 for directories)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;quot;date&amp;quot; || &amp;quot;2021-01-05 13:52:56&amp;quot; || creation or last modification date of the file, in SQL date/time format&lt;br /&gt;
|-&lt;br /&gt;
|  &amp;quot;comment&amp;quot; || &amp;quot;&amp;quot; || comment associated with the file, if any&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
If the file does not exist, then  &amp;lt;c&amp;gt;file.info&amp;lt;/c&amp;gt; returns &amp;lt;c&amp;gt;[[null]]&amp;lt;/c&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
[[Category:Mini Micro]]&lt;br /&gt;
[[Category:Command-Line MiniScript]]&lt;/div&gt;</summary>
		<author><name>JoeStrout</name></author>
		
	</entry>
</feed>