<?xml version="1.0" encoding="UTF-8"?> <rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
> <channel><title>gHacks Technology News &#124; Latest Tech News, Software And Tutorials &#187; save</title> <atom:link href="http://www.ghacks.net/tag/save/feed/" rel="self" type="application/rss+xml" /><link>http://www.ghacks.net</link> <description>A technology news blog covering software, mobile phones, gadgets, security, the Internet and other relevant areas.</description> <lastBuildDate>Fri, 10 Feb 2012 09:07:37 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <atom:link rel="hub" href="http://pubsubhubbub.appspot.com"/><atom:link rel="hub" href="http://superfeedr.com/hubbub"/> <item><title>Save disk space with UPX</title><link>http://www.ghacks.net/2010/04/28/save-disk-space-with-upx/</link> <comments>http://www.ghacks.net/2010/04/28/save-disk-space-with-upx/#comments</comments> <pubDate>Wed, 28 Apr 2010 13:11:32 +0000</pubDate> <dc:creator>Ronan Jouchet</dc:creator> <category><![CDATA[Hacking]]></category> <category><![CDATA[Knowledge]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[Mac]]></category> <category><![CDATA[Open Source]]></category> <category><![CDATA[Software]]></category> <category><![CDATA[Tutorials Advanced]]></category> <category><![CDATA[Windows]]></category> <category><![CDATA[compress]]></category> <category><![CDATA[disk]]></category> <category><![CDATA[executables]]></category> <category><![CDATA[save]]></category> <category><![CDATA[space]]></category> <category><![CDATA[upx]]></category> <guid
isPermaLink="false">http://www.ghacks.net/?p=24952</guid> <description><![CDATA[Disk space is cheap, but there are still situations where you&#8217;d like to reclaim space. For me, one of them is getting the maximum of the free Dropbox account I use to synchronize my applications between work and home. hey, don&#8217;t say my sysadmin I do this, he&#8217;d get a heart attack from the sole [...]]]></description> <content:encoded><![CDATA[<p>Disk space is cheap, but there are still situations where you&#8217;d like to reclaim space. For me, one of them is getting the maximum of the free Dropbox account I use to synchronize my applications between work and home. <em>hey, don&#8217;t say my sysadmin I do this, he&#8217;d get a heart attack from the sole thought of a virus among my tools collection</em>.</p><p>Of course {zip/rar}ing everything is a no-go; nobody wants to have to open an archive before being able to launch an application. So what?<br
/> <span
id="more-24952"></span>Enter UPX, the reference packer for executable files. UPX compresses executable files (mostly .exe and .dll under Windows), but contrarily to zip/rar/whatever, it keeps them executable, also preserving  their properties (icon, version&#8230;). All this at the cost of a completely unnoticeable performance hit when starting the application. Sounds good? Let&#8217;s compress everything executable in this Dropbox that is dangerously close to reaching its 2GB limit.</p><ol><li><a
href="http://upx.sourceforge.net/#download">Download UPX</a> from SourceForge and extract it to &lt;upxFolder&gt;.</li><li>Open a command prompt and browse to &lt;upxFolder&gt; (you can find the command prompt in Start &gt; Accessories or run it via Windows+R, then &#8220;cmd&#8221;. Use &#8220;cd FolderName&#8221; to navigate the filesystem).</li><li>Run upx.exe to have a look at the options available. I&#8217;ll use -9 but you can adjust this (for example if you feel a performance hit on an old machine &#8211;<em>I don&#8217;t</em>&#8211;), and -v to have verbose output. Now, navigate to the folder of a program you want to compress and run your freshly-baked command:<br
/> <code>"&lt;upxFolder&gt;\upx.exe" -9 -v *.exe *.dll</code><br
/> (replace &lt;upxFolder&gt; adequately, and keep the quotes around the path, or spaces will cause problems)</li><li>You&#8217;ll see the files being compressed, the compression ratio, as well as the occasional &#8220;<em>AlreadyPackedException: already packed by UPX</em>&#8220;, or &#8220;<em>CantPackException: .NET files (win32/net) are not yet supported</em>&#8220;, or &#8220;<em>IOException: read error: Invalid argument</em>&#8220;. These errors are all OK, UPX just notifies you that it left the file untouched.</li></ol><p>Woot, you already gained 50MB by just compressing big ol&#8217;Inkscape.<br
/> <a
rel="attachment wp-att-24921" href="http://www.ghacks.net/2010/04/28/save-disk-space-with-upx/inkscape/"><img
class="alignnone size-full wp-image-24921" src="http://www.ghacks.net/wp-content/uploads/2010/04/inkscape.png" alt="" width="547" height="306" /></a></p><p>Of course you now want to do this on ALL the executables in a folder. But you&#8217;re lazy, and the perspective of running this line inside hundreds of subfolders leaves you bleak. Lucky you, I&#8217;m lazy too, so I dug <a
href="http://stackoverflow.com/questions/2043869/how-to-execute-a-windows-batch-command-recursively">Stack Overflow</a> to assemble a script that will do the operation recursively.</p><ol><li>Paste this in a text file (of course adjusting the main line like we did before) you will rename to something like upxRecursive.bat<br
/> <code>for /r /d %%x in (*) do (<br
/> pushd "%%x"<br
/> "&lt;upxFolder&gt;\upx.exe" -9 -v *.exe *.dll<br
/> popd<br
/> )<br
/> pause</code></li><li>Move this batch file inside your Dropbox folder, launch it and see the magic. This will take a long time on a big folder filled with executable files, but will seriously slim it down. In my case, I saved 400MB (from 1.7GB to 1.3GB), leaving me with plenty of space for more crap.</li></ol><p><strong>Final notes:</strong></p><ul><li>UPX has been in development for a long time and is praised for its extreme stability and reliability, but could possibly leave you with some exotic executable files that won&#8217;t run after compression. I personally never occurred to me, but accidents happen. In this case, use <code>"&lt;upxFolder&gt;\upx.exe" -d problematicFile.exe</code> to get an uncompressed version. Note it won&#8217;t be byte-identical, if you want to be able to get back to byte-identical versions, you should add the <code>--exact</code> switch at compression time.<br
/> By the way, the folks at <a
href="http://portableapps.com/">PortableApps.com</a> pack all the software they release with UPX. Reassured about its reliability?</li><li>People familiar with <a
href="http://en.wikipedia.org/wiki/Portable_Executable">the win32/pe format</a> will know that .exe and .dll are not its only valid extensions. The full list is &#8220;.exe .dll .cpl .ocx .sys .scr .drv&#8221;. However, I don&#8217;t recommend compressing sensitive files like control panel extensions or driver files, and this is why the line I suggest targets only dll and exe files. Compressing VLC is OK because you can reinstall it if UPX butchers it. Compressing critical software is not.</li><li>I&#8217;m just repeating my previous point, but don&#8217;t want to see angry comments from people doing crazy things with this. Again, <span
style="text-decoration: underline"><strong>don&#8217;t do this on all C: , it -will- wreck your system</strong></span>. Compress executables when you really need it, and inside folders containing only reinstallable applications if things go wrong.</li><li>UPX is multi-platform. My article focuses heavily on Windows because this is the platform where my use case comes from, but you can of course adjust this idea/script for Linux (plus you will probably have access to a saner scripting language than batch).</li><li><em><strong>EDIT</strong>: as pointed by John T. Haller in the comments, PortableApps offers <a
href="http://portableapps.com/apps/utilities/portableapps.com_appcompactor">AppCompactor</a>, a graphical frontend  that relies among others on UPX.</em></li></ul><p><em>Ronan is a geek and musician living in Montreal. He likes scaring wary sysadmins with 2GB folders full of false positives and writes about  software, music and life at <a
href="http://www.flyingmolehill.com/">flying  molehill</a>.</em></p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2010/04/28/save-disk-space-with-upx/feed/</wfw:commentRss> <slash:comments>8</slash:comments> </item> <item><title>How To Save Files In Different Formats</title><link>http://www.ghacks.net/2009/07/12/how-to-save-files-in-different-formats/</link> <comments>http://www.ghacks.net/2009/07/12/how-to-save-files-in-different-formats/#comments</comments> <pubDate>Sun, 12 Jul 2009 14:48:14 +0000</pubDate> <dc:creator>Martin Brinkmann</dc:creator> <category><![CDATA[Software]]></category> <category><![CDATA[Windows]]></category> <category><![CDATA[microsoft-windows]]></category> <category><![CDATA[save]]></category> <category><![CDATA[save as]]></category> <category><![CDATA[save files]]></category> <category><![CDATA[windows explorer tip]]></category> <category><![CDATA[windows-explorer]]></category> <guid
isPermaLink="false">http://www.ghacks.net/?p=14349</guid> <description><![CDATA[Users who want to create a bat file usually start by creating a text document in Windows and change the file extension afterwards to bat. The same principle is used when creating other formats like html documents. The following tip is not limited to Windows Explorer or text documents. It works as well in web [...]]]></description> <content:encoded><![CDATA[<p><img
src="http://www.ghacks.net/wp-content/uploads/2009/04/microsoft_windows.jpg" alt="microsoft windows" title="microsoft windows" width="128" height="128" class="alignleft size-full wp-image-11907" />Users who want to create a bat file usually start by creating a text document in Windows and change the file extension afterwards to bat. The same principle is used when creating other formats like html documents. The following tip is not limited to Windows Explorer or text documents. It works as well in web browsers like Internet Explorer or Firefox, email clients like Mozilla Thunderbird and Microsoft Outlook and practically any program that is offering to save files.</p><p>The save as file dialog is usually offering a few file formats a document can be saved in. This limitation can be overridden by putting the name and file extension in quotation marks.</p><p><span
id="more-14349"></span><img
src="http://www.ghacks.net/wp-content/uploads/2009/07/windows_explorer.jpg" alt="windows explorer" title="windows explorer" width="428" height="299" class="alignnone size-full wp-image-14350" /></p><p>It is therefor possible to save information in different data formats even if they are not supported by the software program. It is even possible to select data formats that are not compatible at all with the data. A text document could be saved as an excel document or zip file. This will obviously throw an error when trying to open the file unless the right viewer is selected.</p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2009/07/12/how-to-save-files-in-different-formats/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> <item><title>Record more than 4000 internet radio stations</title><link>http://www.ghacks.net/2007/01/17/record-more-than-4000-internet-radio-stations/</link> <comments>http://www.ghacks.net/2007/01/17/record-more-than-4000-internet-radio-stations/#comments</comments> <pubDate>Wed, 17 Jan 2007 15:06:40 +0000</pubDate> <dc:creator>Martin Brinkmann</dc:creator> <category><![CDATA[Operating Systems]]></category> <category><![CDATA[Tools]]></category> <category><![CDATA[Windows]]></category> <category><![CDATA[freeware]]></category> <category><![CDATA[internet]]></category> <category><![CDATA[mp3]]></category> <category><![CDATA[phonostar]]></category> <category><![CDATA[radio]]></category> <category><![CDATA[record]]></category> <category><![CDATA[save]]></category> <category><![CDATA[song]]></category> <category><![CDATA[stream]]></category> <guid
isPermaLink="false">http://www.ghacks.net/2007/01/17/record-more-than-4000-internet-radio-stations/</guid> <description><![CDATA[If you are looking for an easy way to record internet radio stations look no further. Phonostar is a free radio player and recorder that comes preconfigured with more than 4000 radio stations. Phonostar tries to automatically determine the audio source that can be used to record songs and loads the interface afterwards. Top stations are selected and a double-click starts the playback of that station. Please note that all top stations seem to be in German, conduct a search for English stations.]]></description> <content:encoded><![CDATA[<p>If you are looking for an easy way to record internet radio stations look no further. <a
target="_blank" title="phonostar" href="http://www.phonostar.com/">Phonostar</a> is a free radio player and recorder that comes preconfigured with more than 4000 radio stations. Phonostar tries to automatically determine the audio source that can be used to record songs and loads the interface afterwards. Top stations are selected and a double-click starts the playback of that station. Please note that all top stations seem to be in German, conduct a search for English stations.</p><p>Phonostar has more than 2100 English stations in it database including such famous ones as digital imported radio. If your favorite stations are missing you can simply add them by clicking on On Air and selecting Add radio station or open stream url. Before you are ready to record songs you should enter the recording settings and change the default format from .wav to .mp3 to save space on your hard drive. Click on recording in the left pane and select mp3 as the file format.</p><p><span
id="more-1110"></span>Click on Options > Settings afterwards and check the Recording settings there as well. Change the default dir for the recordings if you do not have enough space on c:\ like I do. Everything can remain as is. To record simply click the red button in the left pane and the recording process starts.</p><p>I did not find a way (unfortunately) to change the way the recorded files are named. Some programs are able to save information like artist, song title and album when recording and it seems that Phonostar is not able to do that. This is clearly a disadvantage.</p><p>Phonostar is nevertheless a fine program that makes it easy for even inexperienced users to record songs of internet radio stations.</p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2007/01/17/record-more-than-4000-internet-radio-stations/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Save Quicktime Movies from Apple Trailers</title><link>http://www.ghacks.net/2006/12/31/save-quicktime-movies-from-apple-trailers/</link> <comments>http://www.ghacks.net/2006/12/31/save-quicktime-movies-from-apple-trailers/#comments</comments> <pubDate>Sun, 31 Dec 2006 09:33:23 +0000</pubDate> <dc:creator>Martin Brinkmann</dc:creator> <category><![CDATA[Knowledge]]></category> <category><![CDATA[The Web]]></category> <category><![CDATA[apple]]></category> <category><![CDATA[cinema]]></category> <category><![CDATA[download]]></category> <category><![CDATA[film]]></category> <category><![CDATA[movie]]></category> <category><![CDATA[quicktime]]></category> <category><![CDATA[save]]></category> <category><![CDATA[trailers]]></category> <guid
isPermaLink="false">http://www.ghacks.net/2006/12/31/save-quicktime-movies-from-apple-trailers/</guid> <description><![CDATA[I do not like Quicktime that much. I hate to use additional clients next to VLC to be able to view certain movies on websites. I also do not like the fact that you can't save movies easily if you do not use Quicktime Pro. I discovered a method that makes it possible to save movies from the Apple Trailer website to your local drive and watch them in your favorite movie player afterwards. I use VLC for this purpose but Quicktime Alternative for instance should be fine as well.]]></description> <content:encoded><![CDATA[<p>I do not like Quicktime that much. I hate to use additional clients next to VLC to be able to view certain movies on websites. I also do not like the fact that you can&#8217;t save movies easily if you do not use Quicktime Pro. I <a
target="_blank" title="save apple trailer movies" href="http://www.krunk4ever.com/blog/2006/12/17/how-to-download-hd-trailers-from-applecom/">discovered</a> a method that makes it possible to save movies from the Apple Trailer website to your local drive and watch them in your favorite movie player afterwards. I use VLC for this purpose but Quicktime Alternative for instance should be fine as well.</p><p>I&#8217;m going to explain the method using an example. I&#8217;m really looking forward to seeing the movie 300 which will come out in march. A new trailer for that movie was released a few days ago and I want to download it to my computer to be able to watch it again without re-downloading it. The first step would be to visit the <a
title="apple movie trailers" target="_blank" href="http://trailers.apple.com/trailers/">apple movie trailers website</a>.</p><p><span
id="more-1051"></span>Click on the link to the movie 300. The main page of the movie shows up where you can select the resolution of the trailer that you want to view. Right-click and select view page source. Find either 480, 720 or 1080. Skip the first and copy the second url that you find.</p><p>480 &#8211; http://images.apple.com/movies/wb/300/300-tlr1_480p.mov<br
/> 720 &#8211; http://images.apple.com/movies/wb/300/300-tlr1_720p.mov<br
/> 1080 &#8211; http://images.apple.com/movies/wb/300/300-tlr1_1080p.mov</p><p>Add the letter h before the resolution, it would like this</p><p>480 &#8211; http://images.apple.com/movies/wb/300/300-tlr1_h480p.mov<br
/> 720 &#8211; http://images.apple.com/movies/wb/300/300-tlr1_h720p.mov<br
/> 1080 &#8211; http://images.apple.com/movies/wb/300/300-tlr1_h1080p.mov</p><p>This is the direct link to the movie. You could use a download manager to download it or save the page once the movie has been completely loaded.</p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2006/12/31/save-quicktime-movies-from-apple-trailers/feed/</wfw:commentRss> <slash:comments>16</slash:comments> <enclosure
url="http://images.apple.com/movies/wb/300/300-tlr1_480p.mov" length="117" type="video/quicktime" /> <enclosure
url="http://images.apple.com/movies/wb/300/300-tlr1_720p.mov" length="117" type="video/quicktime" /> <enclosure
url="http://images.apple.com/movies/wb/300/300-tlr1_1080p.mov" length="118" type="video/quicktime" /> <enclosure
url="http://images.apple.com/movies/wb/300/300-tlr1_h480p.mov" length="35775983" type="video/quicktime" /> <enclosure
url="http://images.apple.com/movies/wb/300/300-tlr1_h720p.mov" length="76682347" type="video/quicktime" /> <enclosure
url="http://images.apple.com/movies/wb/300/300-tlr1_h1080p.mov" length="134583232" type="video/quicktime" /> </item> <item><title>Auto-Download Images from Image Shack</title><link>http://www.ghacks.net/2005/12/22/auto-download-images-from-image-shack/</link> <comments>http://www.ghacks.net/2005/12/22/auto-download-images-from-image-shack/#comments</comments> <pubDate>Thu, 22 Dec 2005 10:52:34 +0000</pubDate> <dc:creator>Martin Brinkmann</dc:creator> <category><![CDATA[Tools]]></category> <category><![CDATA[download]]></category> <category><![CDATA[image]]></category> <category><![CDATA[image shack]]></category> <category><![CDATA[imageshack.us]]></category> <category><![CDATA[mass download]]></category> <category><![CDATA[pictures]]></category> <category><![CDATA[save]]></category> <guid
isPermaLink="false">http://www.ghacks.net/?p=243</guid> <description><![CDATA[I found a pearl script at <a
href="http://www.binaryhack.org/forum/viewtopic.php?p=169" target="_blank">binaryhack.org</a> that lets you mass-download images that are hosted at imageshack.us. All you need is the pearl script and the mechanize module to download images from imageshack.  If you are running windows you need a pearl interpreter, PxPearl seems to work with this script.]]></description> <content:encoded><![CDATA[<p>I found a pearl script at binaryhack.org that lets you mass-download images that are hosted at imageshack.us. All you need is the pearl script and the mechanize module to download images from imageshack.  If you are running windows you need a pearl interpreter, PxPearl seems to work with this script.</p><p>You can edit the code that not only jpg jpeg are saved but also .pgn .bmp and every other image format you add there. They probably add support for more image hosting sites in the future.</p><p><span
id="more-243"></span>Update: The Auto downloader has been discontinued. An alternative for Windows is the <a
href="http://www.ghacks.net/2010/12/13/bulk-image-downloader-review-and-giveaway-ghacks-christmas-giveaway/">Bulk Image Downloader</a>.</p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2005/12/22/auto-download-images-from-image-shack/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> </channel> </rss>
