<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.vg-resource.com/index.php?action=history&amp;feed=atom&amp;title=User%3ASimpsons_Dumper%2Fhandy_commands</id>
	<title>User:Simpsons Dumper/handy commands - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.vg-resource.com/index.php?action=history&amp;feed=atom&amp;title=User%3ASimpsons_Dumper%2Fhandy_commands"/>
	<link rel="alternate" type="text/html" href="https://wiki.vg-resource.com/index.php?title=User:Simpsons_Dumper/handy_commands&amp;action=history"/>
	<updated>2026-10-10T06:58:53Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.31.1</generator>
	<entry>
		<id>https://wiki.vg-resource.com/index.php?title=User:Simpsons_Dumper/handy_commands&amp;diff=2294&amp;oldid=prev</id>
		<title>Simpsons Dumper: /* A copy of my &quot;handy commands&quot; text file. For use with the Linux terminal, complete with example names from whatever I was working on when I added these to my file. */</title>
		<link rel="alternate" type="text/html" href="https://wiki.vg-resource.com/index.php?title=User:Simpsons_Dumper/handy_commands&amp;diff=2294&amp;oldid=prev"/>
		<updated>2019-09-22T23:32:59Z</updated>

		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;A copy of my &amp;quot;handy commands&amp;quot; text file. For use with the Linux terminal, complete with example names from whatever I was working on when I added these to my file.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&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: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 23:32, 22 September 2019&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-l1&quot; &gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; 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;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;==== &lt;/del&gt;A copy of my &amp;quot;handy commands&amp;quot; text file. For use with the Linux terminal, complete with example names from whatever I was working on when I added these to my file.&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;====&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; 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;A copy of my &amp;quot;handy commands&amp;quot; text file. For use with the Linux terminal, complete with example names from whatever I was working on when I added these to my file.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;&amp;#160; &amp;lt;nowiki&amp;gt;bulk remove from name:&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;&amp;#160; &amp;lt;nowiki&amp;gt;bulk remove from name:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Simpsons Dumper</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.vg-resource.com/index.php?title=User:Simpsons_Dumper/handy_commands&amp;diff=2292&amp;oldid=prev</id>
		<title>Simpsons Dumper: Created page with &quot;==== A copy of my &quot;handy commands&quot; text file. For use with the Linux terminal, complete with example names from whatever I was working on when I added these to my file.====...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.vg-resource.com/index.php?title=User:Simpsons_Dumper/handy_commands&amp;diff=2292&amp;oldid=prev"/>
		<updated>2019-09-22T23:31:27Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;==== A copy of my &amp;quot;handy commands&amp;quot; text file. For use with the Linux terminal, complete with example names from whatever I was working on when I added these to my file.====...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==== A copy of my &amp;quot;handy commands&amp;quot; text file. For use with the Linux terminal, complete with example names from whatever I was working on when I added these to my file.====&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;bulk remove from name:&lt;br /&gt;
rename &amp;#039;s/data_00//g&amp;#039; *&lt;br /&gt;
&lt;br /&gt;
name to sequential numbers:&lt;br /&gt;
ls | cat -n | while read n f; do mv &amp;quot;$f&amp;quot; `printf &amp;quot;%03d.wav&amp;quot; $n`; done&lt;br /&gt;
&lt;br /&gt;
rename with extras:&lt;br /&gt;
for f in *; do mv -- &amp;quot;$f&amp;quot; &amp;quot;PRE_$f_SUF&amp;quot;; done&lt;br /&gt;
&lt;br /&gt;
rename non-zero-padded to zero-padded:&lt;br /&gt;
for f in *; do mv &amp;quot;$f&amp;quot; &amp;quot;`printf %03.f ${f//[!0-9]/}`&amp;quot;.wav; done&lt;br /&gt;
&lt;br /&gt;
name directories to sequential numbers:&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
&lt;br /&gt;
for d in voicetest/*/&lt;br /&gt;
do&lt;br /&gt;
     (cd &amp;quot;$d&amp;quot; &amp;amp;&amp;amp; ls | cat -n | while read n f; do mv &amp;quot;$f&amp;quot; `printf &amp;quot;%03d.wav&amp;quot; $n`; done)&lt;br /&gt;
done&lt;br /&gt;
&lt;br /&gt;
cleanup files in directories:&lt;br /&gt;
rm */*.bcwav&lt;br /&gt;
&lt;br /&gt;
delete duplicates:&lt;br /&gt;
fdupes -rdN .&lt;br /&gt;
&lt;br /&gt;
list duplicates:&lt;br /&gt;
fdupes -r .&lt;br /&gt;
&lt;br /&gt;
zip with directory:&lt;br /&gt;
zip -r willie.zip Simpsons\ Skateboarding/Willie/&lt;br /&gt;
&lt;br /&gt;
zip with directories:&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
&lt;br /&gt;
for d in The\ Simpsons\ Game/Voice/*/&lt;br /&gt;
do     &lt;br /&gt;
	IFS=&amp;#039;/&amp;#039;; arr=($d); unset IFS;&lt;br /&gt;
	zip -r &amp;quot;${arr[2]}.zip&amp;quot; &amp;quot;$d&amp;quot;&lt;br /&gt;
done&lt;br /&gt;
&lt;br /&gt;
convert all audio in directory:&lt;br /&gt;
find -name &amp;quot;*.sndS&amp;quot; -exec bash -c &amp;#039;sox -t raw -r 22050 -b 8 -c 1 -L -e unsigned-integer &amp;quot;{}&amp;quot; &amp;quot;${0/.sndS}.wav&amp;quot; trim 0.0004&amp;#039; {} \;&lt;br /&gt;
&lt;br /&gt;
skeelton:&lt;br /&gt;
ffmpeg -i MAHB.MNG -vf &amp;quot;scale=&amp;#039;min(2048,iw)&amp;#039;:min&amp;#039;(2048,ih)&amp;#039;:force_original_aspect_ratio=decrease,pad=2048:2048:(ow-iw)/2:(oh-ih)/2:gray&amp;quot; out/%d.png&lt;br /&gt;
for f in out/* ; do convert &amp;quot;$f&amp;quot; -trim +repage &amp;quot;$f&amp;quot; ; done&lt;br /&gt;
&lt;br /&gt;
big bulk:&lt;br /&gt;
echo *.rgb | xargs -n 100 wine tstoimg.exe --rgb2png&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;/div&gt;</summary>
		<author><name>Simpsons Dumper</name></author>
		
	</entry>
</feed>