<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://library.morph.zone/index.php?action=history&amp;feed=atom&amp;title=Shell_Commands%2FSetFileSize</id>
		<title>Shell Commands/SetFileSize - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://library.morph.zone/index.php?action=history&amp;feed=atom&amp;title=Shell_Commands%2FSetFileSize"/>
		<link rel="alternate" type="text/html" href="https://library.morph.zone/index.php?title=Shell_Commands/SetFileSize&amp;action=history"/>
		<updated>2026-07-01T10:45:31Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>https://library.morph.zone/index.php?title=Shell_Commands/SetFileSize&amp;diff=4429&amp;oldid=prev</id>
		<title>JPV: Created page with &quot;'''SetFileSize''' - Creates or resizes a file  FILE/A,SIZE/A,KIB/S,MIB/S,GIB/S  &lt;nowiki&gt; FILE - File to resize or create SIZE - Size to be applied to the specified file, in by...&quot;</title>
		<link rel="alternate" type="text/html" href="https://library.morph.zone/index.php?title=Shell_Commands/SetFileSize&amp;diff=4429&amp;oldid=prev"/>
				<updated>2026-06-29T12:52:19Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;#039;&amp;#039;&amp;#039;SetFileSize&amp;#039;&amp;#039;&amp;#039; - Creates or resizes a file  FILE/A,SIZE/A,KIB/S,MIB/S,GIB/S  &amp;lt;nowiki&amp;gt; FILE - File to resize or create SIZE - Size to be applied to the specified file, in by...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;'''SetFileSize''' - Creates or resizes a file&lt;br /&gt;
&lt;br /&gt;
FILE/A,SIZE/A,KIB/S,MIB/S,GIB/S&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
FILE - File to resize or create&lt;br /&gt;
SIZE - Size to be applied to the specified file, in bytes by default&lt;br /&gt;
KIB  - Multiplies the specified size by 1024&lt;br /&gt;
MIB  - Multiplies the specified size by 1024*1024&lt;br /&gt;
GIB  - Multiplies the specified size by 1024*1024*1024&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''NOTE''' that the resize operation may or may not destroy contents of the file. It depends on the file system used, so consider the result as undefined. The command is meant to create large files quickly, for example, as virtual file images, where formatting would rewrite the data within the file anyway.&lt;br /&gt;
&lt;br /&gt;
The FileWrite command can be used to create a file that is filled with the specified data.&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
&lt;br /&gt;
Creates a file named &amp;quot;Testfile&amp;quot; in &amp;quot;T:&amp;quot; with the size of 10 bytes:&lt;br /&gt;
 SetFileSize T:Testfile 10&lt;br /&gt;
&lt;br /&gt;
Resizes the file to 10485760 bytes:&lt;br /&gt;
 SetFileSize T:Testfile 10 MIB&lt;/div&gt;</summary>
		<author><name>JPV</name></author>	</entry>

	</feed>