<?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>Walker News &#187; Open Source</title>
	<atom:link href="http://www.walkernews.net/tag/open-source/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.walkernews.net</link>
	<description>A capsule of walker's experience in life...</description>
	<lastBuildDate>Sun, 29 Jan 2012 16:29:08 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Is there A Reliable Cracked Software? Why Use Genuine Software?</title>
		<link>http://www.walkernews.net/2009/05/24/is-there-a-reliable-cracked-software-why-use-genuine-software/</link>
		<comments>http://www.walkernews.net/2009/05/24/is-there-a-reliable-cracked-software-why-use-genuine-software/#comments</comments>
		<pubDate>Sun, 24 May 2009 08:53:34 +0000</pubDate>
		<dc:creator>Walker</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Freeware]]></category>
		<category><![CDATA[Howto]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Redhat]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[WGA]]></category>

		<guid isPermaLink="false">http://www.walkernews.net/?p=2669</guid>
		<description><![CDATA[Is it safe to use a cracked software?]]></description>
			<content:encoded><![CDATA[<span class="subhead">Why using pirated software?</span><br />
<br />About 10 years ago, I spent all money on my first DIY computer, but almost zero cost on all Windows software installed onto it.<br />
<span id="more-2669"></span><br />
Obviously, I used pirated program, with installers borrowed from friends or bought them myself from pirated software booth at a flat price of 3 &#8211; 5 buck per CD.<br />
<br />Why I did that?<br />
<br />First, I was about to start the 1st semester of computer study in college on my own limited finance. As you may know, the hardware was not cheap at that time, so I couldn&#8217;t afford to spent additional on genuine software.<br />
<br />Second, none of the people I knew in college or friends were using Linux or open source software. As a novice at that time, learning Linux on my own could be a great challenge. In order to learn from peer and &#8220;masters&#8221; around me, I had no choice to go for Windows. Since all of them were using pirated Windows and also my limited finance disallowed me to have genuine software, I just followed the &#8220;culture&#8221;.<br />
<br /><span class="subhead">Why using Genuine software now?</span><br />
<br />Before Windows XP released, most of the pirated software were actually &#8220;cracked&#8221; by using a genuine product key or serial number.<br />
<br />By using this method, there is no worry of Trojan or virus, so long as you install the software with a genuine installer and activate it with &#8220;pirated&#8221; product key that is actually a genuine license key shared by millions of people around the world.<br />
<br />However, software activation changes after Microsoft introduced Microsoft Product Activation or Windows Product Activation, started with Windows XP.<br />
<br />Many other software follow the way of Microsoft licensing Windows XP, i.e. to install the software with a valid product key and then activate it within grace period, by connecting to the software vendor server or phone the call center to get an activation key for this purpose.<br />
<br />Therefore, most of the pirated software nowadays are not simply a result of cracking with genuine product key. Indeed, these are really &#8220;cracked&#8221; software that done by repackaging genuinely installed and activated software, fooling the software with a locally installed activator, etc. <br />
<br />I don&#8217;t kinda like these kind of &#8220;cracked&#8221; software as I am worry about risk of Trojan or virus that might have built into the activator or repackaged installer.<br />

<ul class="related_post"><li><a href="http://www.walkernews.net/2009/04/12/how-to-completely-remove-or-uninstall-nokia-pc-suite/" title="How To Completely Remove Or Uninstall Nokia PC Suite? ">How To Completely Remove Or Uninstall Nokia PC Suite? </a></li><li><a href="http://www.walkernews.net/2009/03/27/how-to-remove-or-uninstall-avg-free-antivirus/" title="How To Remove Or Uninstall AVG Free Antivirus?">How To Remove Or Uninstall AVG Free Antivirus?</a></li><li><a href="http://www.walkernews.net/2009/03/18/how-to-allow-root-login-to-telnet-server-in-linux/" title="How To Allow Root Login To Telnet Server In Linux?">How To Allow Root Login To Telnet Server In Linux?</a></li><li><a href="http://www.walkernews.net/2008/11/09/how-easy-to-access-web-search-engine-in-google-chrome/" title="How Easy To Access Web Search Engine In Google Chrome">How Easy To Access Web Search Engine In Google Chrome</a></li><li><a href="http://www.walkernews.net/2008/09/21/how-to-copy-youtube-video-or-flv-file-from-google-chrome-cache-folder/" title="How To Copy YouTube Video or FLV File From Google Chrome Cache Folder?">How To Copy YouTube Video or FLV File From Google Chrome Cache Folder?</a></li><li><a href="http://www.walkernews.net/2008/06/09/configure-secured-private-key-for-password-less-ssh-login/" title="Configure Secured Private Key For Password-less SSH Login">Configure Secured Private Key For Password-less SSH Login</a></li><li><a href="http://www.walkernews.net/2008/06/06/how-to-setup-non-interactive-ssh-login/" title="How To Setup Non-Interactive SSH Login">How To Setup Non-Interactive SSH Login</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.walkernews.net/2009/05/24/is-there-a-reliable-cracked-software-why-use-genuine-software/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How Easy To Access Web Search Engine In Google Chrome</title>
		<link>http://www.walkernews.net/2008/11/09/how-easy-to-access-web-search-engine-in-google-chrome/</link>
		<comments>http://www.walkernews.net/2008/11/09/how-easy-to-access-web-search-engine-in-google-chrome/#comments</comments>
		<pubDate>Sun, 09 Nov 2008 09:11:07 +0000</pubDate>
		<dc:creator>Walker</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[Browser]]></category>
		<category><![CDATA[Freeware]]></category>
		<category><![CDATA[Google Chrome]]></category>
		<category><![CDATA[Guide]]></category>
		<category><![CDATA[Howto]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Search Engine]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Tricks]]></category>
		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://www.walkernews.net/?p=1307</guid>
		<description><![CDATA[Google Chrome makes it easier to access to web search engine, but do you find it useful? As for myself, I want to give it thumbs up.]]></description>
			<content:encoded><![CDATA[No one will be happier if there are no web search engines available to locate pieces of information from billions of web pages virtually stored in World Wide Web.<br />
<span id="more-1307"></span><br />
Thus, <a href="http://www.walkernews.net/2008/10/22/google-chrome-has-more-effective-flash-video-cache-technique-than-ie7-and-firefox-3/" title="Google Chrome is more efficient to use for watching online flash video, such as YouTube, FLURL, etc." rel="bookmark">Google Chrome</a> user interface presents easier way to access a user&#8217;s default Web search engine, be it Google Search, Microsoft Live Search, Yahoo! Search, Wikia Search, etc.<br />
<br /><span class="subhead">Access web search engine in Google Chrome Address bar</span><br />
<br />This first method is the simplest and fastest way to access user&#8217;s default Web search engine:<br />
<br /><!--wgadh3-->While Google Chrome window is active, press <span class="subhead2">CTRL+T</span> (to open a tabbed window) OR <span class="subhead2">CTRL+D</span> (to set input cursor to Address bar or to highlight text in Address bar) AND type your search term (in Address bar, of course) follow by pressing ENTER key.<br />
<br />In this way, you can access the default Web search engine with one hot key (CTRL+D or CTRL+T, depend on you expectation) and start typing the keywords followed by ENTER key.<br />
<br /><div style="max-width:500px;"><img src="http://www.walkernews.net/wp-content/uploads/2008/11/google-chrome-search-function-3.jpg" alt="Access to web search engine service is easy in Google Chrome." title="Access to web search engine service is easy in Google Chrome." width="487" height="205" class="size-full wp-image-1311" /></div><sup>Access to web search engine service is easy in Google Chrome.</sup><br />
<br />If the default Web search engine is set to Google Search, all Google Search features are available in Google Chrome Address bar, e.g. typing either one of these double-quoted search terms (without including the double-quotation mark) in Address bar: &#8220;pi&#8221; (reference tool), &#8220;3ft in m&#8221; (calculator / converter), &#8220;time london&#8221; (local time), &#8220;define:addict&#8221; (dictionary), etc.<br />
<br /><span class="subhead">Access web search engine with the highlighted keywords</span><br />
<br />This second method is not faster than the first, but it&#8217;s faster and convenient in its nature. For example, if you would like to search the web for this &#8220;friendly&#8221; botanical name &#8220;Centella asiatica&#8221; or a even &#8220;weird&#8221; scientific name &#8220;Callorhinchus milii&#8221;, do you think it&#8217;s easier to type the keywords manually or to copy and paste?<br />
<br />If the keyword is found on a web page open in <a href="http://www.walkernews.net/2008/09/21/how-to-copy-youtube-video-or-flv-file-from-google-chrome-cache-folder/" title="How to manually retrieve YouTube flash video cached by Google Chrome flash player plugin?" rel="bookmark">Google Chrome</a>, you can easily find out more relevant online information of this keyword, by just <span class="subhead2">highlighting the text and right click</span>, there is a <span class="subhead2">Search <em>&lt;name of default search engine&gt;</em> For &#8220;<em>&lt;the highlighted text&gt;</em>&#8220;</span> option in the Context menu (i.e. no need to go through extra steps &#8211; copy &#038; paste). <br />
<br /><span class="subhead">How to set default web search engine in Google Chrome?</span><br />
<br /><img style="float:right;margin:0 0 0 5px;" src="http://www.walkernews.net/wp-content/uploads/2008/11/google-chrome-search-function-1.jpg" alt="How to configure Google Chrome default web search engine?" title="How to configure Google Chrome default web search engine?" width="210" height="92" class="size-full wp-image-1309" />To configure the default search engine used by <a href="http://www.walkernews.net/2008/11/05/how-to-find-and-copy-swf-or-jpg-file-from-google-chrome-cache-folder/" title="ChromeCacheView - a freeware used to easily view and copy Google Chrome cache files, such as the Shockwave flash, jpeg pictures, mp3, wav, midi, etc." rel="bookmark">Google Chrome</a>, click the spanner button (tooltips as Customize and Control Google Chrome) on top-right corner and select Options from the drop down menu.<br />
<br />In the Google Chrome Options dialog box, go to Basic tab (default tab shown), select your favourite web search engine as the default of Google Chrome.<br />
<br />If your favourite is not there, click Manage button to add in more web search engines to the list, or select one from the list and click Make Default.<br />
<br />An additional note, <a href="http://www.walkernews.net/2008/10/23/videocacheview-save-flash-video-from-web-browser-cache-folder/" title="How to easily copy or retrieve flash video played in web various web browsers, including Google Chrome?" rel="bookmark">Google Chrome</a> is smart as it can detect any web search services that you’ve used in a web page and automatically add them to the list.<br />
<br />For example, if you&#8217;ve used the Google Custom Search box in this page, <a href="http://www.walkernews.net" title="Walker News - a capsule of Walker experience in life..." rel="bookmark">WalkerNews.net</a> is automatically included in Google Chrome Search Engines list:<br />
<br /><div style="max-width:500px;"><img src="http://www.walkernews.net/wp-content/uploads/2008/11/google-chrome-search-function.jpg" alt="Google Chrome automatically detects web search services on a page and automatically add it to the list." title="Google Chrome automatically detects web search services on a page and automatically add it to the list." width="483" height="211" class="size-full wp-image-1317" /></div><sup>Google Chrome automatically detects web search services on a page and automatically add it to the list.</sup><br />
<br />So, you might no need to worry about the Add button. In most cases, just select the listed search engines and set it as default by pressing Make Default button.<br />

<ul class="related_post"><li><a href="http://www.walkernews.net/2008/09/21/how-to-copy-youtube-video-or-flv-file-from-google-chrome-cache-folder/" title="How To Copy YouTube Video or FLV File From Google Chrome Cache Folder?">How To Copy YouTube Video or FLV File From Google Chrome Cache Folder?</a></li><li><a href="http://www.walkernews.net/2008/11/07/how-to-configure-or-disable-google-chrome-proxy-server-settings-independently/" title="How To Configure Or Disable Google Chrome Proxy Server Settings Independently?">How To Configure Or Disable Google Chrome Proxy Server Settings Independently?</a></li><li><a href="http://www.walkernews.net/2008/11/05/how-to-find-and-copy-swf-or-jpg-file-from-google-chrome-cache-folder/" title="How To Find and Copy SWF Or JPG File From Google Chrome Cache Folder?">How To Find and Copy SWF Or JPG File From Google Chrome Cache Folder?</a></li><li><a href="http://www.walkernews.net/2008/11/03/how-to-copy-or-backup-file-that-is-open-in-another-program/" title="How To Copy Or Backup File That Is Open In Another Program?">How To Copy Or Backup File That Is Open In Another Program?</a></li><li><a href="http://www.walkernews.net/2008/10/29/windows-vista-multiple-networks-wireless-to-public-wifi-and-wired-to-private-lan/" title="Windows Vista Multiple Networks: Wireless To Public WIFI and Wired To Private LAN">Windows Vista Multiple Networks: Wireless To Public WIFI and Wired To Private LAN</a></li><li><a href="http://www.walkernews.net/2008/10/25/how-to-use-infrared-to-send-files-from-windows-vista-to-nokia-n73/" title="How To Use Infrared To Send Files From Windows Vista To Nokia N73?">How To Use Infrared To Send Files From Windows Vista To Nokia N73?</a></li><li><a href="http://www.walkernews.net/2008/10/03/how-to-send-program-file-as-attachment-in-gmail/" title="How To Send Program File As Attachment In Gmail?">How To Send Program File As Attachment In Gmail?</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.walkernews.net/2008/11/09/how-easy-to-access-web-search-engine-in-google-chrome/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How To Copy Or Backup File That Is Open In Another Program?</title>
		<link>http://www.walkernews.net/2008/11/03/how-to-copy-or-backup-file-that-is-open-in-another-program/</link>
		<comments>http://www.walkernews.net/2008/11/03/how-to-copy-or-backup-file-that-is-open-in-another-program/#comments</comments>
		<pubDate>Sun, 02 Nov 2008 17:18:59 +0000</pubDate>
		<dc:creator>Walker</dc:creator>
				<category><![CDATA[Howto]]></category>
		<category><![CDATA[Windows Vista]]></category>
		<category><![CDATA[Guide]]></category>
		<category><![CDATA[Hobocopy]]></category>
		<category><![CDATA[KnowHow]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Previous Version]]></category>
		<category><![CDATA[Shadow Copy]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Tricks]]></category>
		<category><![CDATA[Vista SP1]]></category>
		<category><![CDATA[VSS]]></category>

		<guid isPermaLink="false">http://www.walkernews.net/?p=1256</guid>
		<description><![CDATA[How do you copy an open file in Windows Vista, if there is no option to close the program and then copy the file? The answer is by using Volume Shadow Service.]]></description>
			<content:encoded><![CDATA[When you are about to copy a file but Windows rejects you with a &#8220;File In Use&#8221; message, saying that &#8220;The action can&#8217;t be completed because the file is open in another program. Close the file and try again.&#8221;<br />
<span id="more-1256"></span><br />
Agree or not, that message box is a little bit informative but useless. It will be good by directly list out programs or <a href="http://www.walkernews.net/2007/07/12/filter-and-disable-non-microsoft-services/" title="How to find out all non-Microsoft services running in your Windows system?" rel="bookmark">Windows services</a> that open or lock the file and provide an alternative option to copy the open file with API functions that already built into some latest Windows systems.<br />
<br /><div style="max-width:500px;"><img src="http://www.walkernews.net/wp-content/uploads/2008/09/google-chrome-cache-video.jpg" alt="How to copy cache files from Google Chrome cache folder?" title="How to copy cache files from Google Chrome cache folder?" width="450" height="152" class="size-full wp-image-1153" /></div><sup>How to copy cache files from Google Chrome cache folder?</sup><br />
<br />Sometime, it&#8217;s just impossible to close the program in order to copy the open file in question &#8211; you either can&#8217;t tell which particular program or Windows service is locking the file (unless using process viewer tool) or the program that open or lock the file can&#8217;t be closed by all means.<br />
<br />For example, if you want to copy the flash <a href="http://www.walkernews.net/2008/10/22/google-chrome-has-more-effective-flash-video-cache-technique-than-ie7-and-firefox-3/" title="Why use Google Chrome to watch YouTube video or any flash video streaming sites?" rel="bookmark">video cached by Flash Player plugin of Google Chrome</a>, you&#8217;ve to copy the FLV file while the web browser remains open (i.e. the page that finish playback the <a href="http://www.walkernews.net/2008/01/11/how-to-embed-flv-flash-in-wordpress-or-html/" title="How to embed flash video in WordPress or HTML source code?" rel="bookmark">flash video</a> cannot be closed, otherwise the cached FLV file will be deleted immediately).<br />
<br /><span class="subhead">How to copy or backup an open file (i.e. a file locked by another process)?</span><br />
<br />So, you need VSS, short for Volume Snapshot Service! It&#8217;s also known as Volume Shadow Copy Service, Shadow Copy, Previous Version (in Windows Vista).<br />
<blockquote>VSS was introduced in Windows XP SP1 and made available on all releases of Windows OS thereafter, is a set of COM interfaces that implements a framework to allow volume backups to be performed while applications on a system continue to write to the volumes. &#8211; cf <a href="http://msdn.microsoft.com/en-us/library/bb968832(VS.85).aspx" target="_blank">Microsoft MSDN</a> </blockquote>
<br />If you&#8217;re using <a href="http://www.walkernews.net/2007/03/25/vista-open-command-window-here-in-xp/" title="How to add Open Command Window Here shortcut in Windows XP context menu?" rel="bookmark">Windows XP SP1</a> and above or that VSS feature is available, a VSS-aware application will work to copy the open file from shadow copy rather than asking you to close the program that lock the file.<br />
<br />For example, I use <a href="http://www.walkernews.net/2008/09/21/how-to-copy-youtube-video-or-flv-file-from-google-chrome-cache-folder/" title="How to manual copy Flash video cached by Google Chrome?" rel="bookmark">HoboCopy to copy FLV files cached by Google Chrome&#8217;s Flash Player plugin</a>, before I came to know a specific freeware called <a href="http://www.walkernews.net/2008/10/23/videocacheview-save-flash-video-from-web-browser-cache-folder/" title="How to easily copy video file cached by Google Chrome web browser?" rel="bookmark">VideoCacheView</a>.<br />

<ul class="related_post"><li><a href="http://www.walkernews.net/2008/10/29/windows-vista-multiple-networks-wireless-to-public-wifi-and-wired-to-private-lan/" title="Windows Vista Multiple Networks: Wireless To Public WIFI and Wired To Private LAN">Windows Vista Multiple Networks: Wireless To Public WIFI and Wired To Private LAN</a></li><li><a href="http://www.walkernews.net/2008/09/21/how-to-copy-youtube-video-or-flv-file-from-google-chrome-cache-folder/" title="How To Copy YouTube Video or FLV File From Google Chrome Cache Folder?">How To Copy YouTube Video or FLV File From Google Chrome Cache Folder?</a></li><li><a href="http://www.walkernews.net/2008/12/01/how-to-extend-windows-vista-system-partition/" title="How To Extend Windows Vista System Partition?">How To Extend Windows Vista System Partition?</a></li><li><a href="http://www.walkernews.net/2008/11/12/how-to-fix-ie-7-print-error-in-windows-vista/" title="How To Fix IE 7 Print Error In Windows Vista?">How To Fix IE 7 Print Error In Windows Vista?</a></li><li><a href="http://www.walkernews.net/2008/10/25/how-to-use-infrared-to-send-files-from-windows-vista-to-nokia-n73/" title="How To Use Infrared To Send Files From Windows Vista To Nokia N73?">How To Use Infrared To Send Files From Windows Vista To Nokia N73?</a></li><li><a href="http://www.walkernews.net/2008/06/12/how-to-cut-mp3-as-mobile-phone-ringtone/" title="How To Cut MP3 As Mobile Phone Ringtone">How To Cut MP3 As Mobile Phone Ringtone</a></li><li><a href="http://www.walkernews.net/2009/05/29/how-to-disable-or-enable-user-switching-in-windows-vista/" title="How To Disable Or Enable User Switching In Windows Vista?">How To Disable Or Enable User Switching In Windows Vista?</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.walkernews.net/2008/11/03/how-to-copy-or-backup-file-that-is-open-in-another-program/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google Chrome Has More Efficient Flash Video Cache Technique Than IE7 and Firefox 3</title>
		<link>http://www.walkernews.net/2008/10/22/google-chrome-has-more-effective-flash-video-cache-technique-than-ie7-and-firefox-3/</link>
		<comments>http://www.walkernews.net/2008/10/22/google-chrome-has-more-effective-flash-video-cache-technique-than-ie7-and-firefox-3/#comments</comments>
		<pubDate>Tue, 21 Oct 2008 16:54:35 +0000</pubDate>
		<dc:creator>Walker</dc:creator>
				<category><![CDATA[Freeware]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Browser]]></category>
		<category><![CDATA[Cache Folder]]></category>
		<category><![CDATA[ChromeCacheView]]></category>
		<category><![CDATA[Flash Video]]></category>
		<category><![CDATA[FLV]]></category>
		<category><![CDATA[Google Chrome]]></category>
		<category><![CDATA[Guide]]></category>
		<category><![CDATA[Nirsofer]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[VideoCacheView]]></category>
		<category><![CDATA[Youtube]]></category>

		<guid isPermaLink="false">http://www.walkernews.net/?p=1204</guid>
		<description><![CDATA[Google Chrome doesn't cache the flash video played as the flash video player is caching a copy of the video. Thus, Google Chrome is more effective in caching flash video!]]></description>
			<content:encoded><![CDATA[First, I would like to say thank you to <a href="http://www.walkernews.net/?s=Nirsofer" title="All posts related to NirSofer in WalkerNews.net" rel="bookmark">Nirsofer</a>, a developer of many useful, standalone <a href="http://www.walkernews.net/category/software/freeware/" title="All posts related to Freeware in WalkerNews.net" rel="bookmark">freeware</a> that I really like to keep along in USB thumb drive.<br />
<span id="more-1204"></span><br />
I left a comment on his <a href="http://www.nirsoft.net/utils/chrome_cache_view.html" title="Google Chrome Cache View freeware from NirSofer" target="_blank" rel="nofollow">ChromeCacheView</a> freeware, suggested him to include <a href="http://www.walkernews.net/2008/09/21/how-to-copy-youtube-video-or-flv-file-from-google-chrome-cache-folder/" title="How to manually locate and copy flash video cached by Google Chrome web browser?" rel="bookmark">flash video cache location used by Google Chrome</a>.<br />
<br /><!--wgadh-->However, his reply really surprise my earlier finding &#8211; I said <a href="http://www.walkernews.net/2008/09/19/google-chrome-browser-cache-folder-is-defensive/" title="Google Chrome Cache folder is defensive?" rel="bookmark">Google Chrome cache folder is defensive</a>! But, it&#8217;s not true (I&#8217;m sorry).<br />
<br />Indeed, now I believe Google Chrome has more efficient Flash video cache technique than <a href="http://www.walkernews.net/2007/09/05/how-to-change-ie-7-window-title-text/" title="How to change IE7 window title?" rel="bookmark">Internet Explorer</a> and <a href="http://www.walkernews.net/2007/11/20/how-to-view-rss-feed-in-xml-format-with-firefox/" title="How to use Firefox web browser to view RSS Feed in XML format?" rel="bookmark">Firefox</a>.<br />
<br />After using <a href="http://www.nirsoft.net/utils/video_cache_view.html" title="A great NirSofer standalone freeware used to copy flash video played in major web browsers." target="_blank" rel="bookmark">VideoCacheView</a> (another great standalone freeware of Nirsofer) and verification on the Windows Vista directories, I found that Google Chrome doesn&#8217;t have <span class="subhead2">double cache</span> situation as in IE 7 and Firefox 3. <br />
<br />Google Chrome doesn&#8217;t cache the <a href="http://www.walkernews.net/2008/01/11/how-to-embed-flv-flash-in-wordpress-or-html/" title="How to embed flash video in WordPress or HTML page?" rel="bookmark">flash video</a>, but rely on <a href="http://www.walkernews.net/2007/09/06/how-to-fix-no-flash-callback-executed-in-ie7/" title="How to fix No Flash Callback Executed error message that related flash player plugin?" rel="bookmark">flash player plugin</a> that automatically caching the flash video in Windows temp folder of user account, with file name appears in flaxxxx.tmp pattern (where xxxx is alpha-numeric).<br />
<br />With IE 7 and Firefox 3 running on <a href="http://www.walkernews.net/tag/windows-vista/" title="All posts related to Windows Vista in WalkerNews.net" rel="bookmark">Windows Vista Ultimate</a> machine, however, these two web browsers are actually perform double cache!<br />
<br />While the flash player plugin cache a copy in Windows temp folder of user account (Firefox 3) or top-level <a href="http://www.walkernews.net/2007/12/28/vista-ie7-fail-to-print-web-page-to-xps/" title="How to fix IE 7 web page printing error that related to missing of low integrity folder?" rel="bookmark">Low integrity folder</a> (IE 7 running in <a href="http://www.walkernews.net/2008/03/17/where-is-ie7-cache-folder/" title="Where IE 7 cache folder when the browser running in Protected Mode in Windows Vista?" rel="bookmark">Protected Mode</a> in Windows Vista), the web browser also keep a copy of the flash video in their legacy TIF folder (a.k.a. Temporarily Internet Files folder or cache folder).<br />
<br />Obviously, IE7 and Firefox 3 take 2x disk space to play a flash video. If the flash video size is 100MB, the IE7 or Firefox 3 takes 200MB of disk space for caching.<br />
<br />Of course, the 200MB used disk space is set to free upon caching period expired, web browser is closed, or user forcibly empties the cache. However, that additional 100MB of I/O could be <span class="subhead2">expensive to CPU utilization and disk defragmentation problem</span>, especially when user actively watching several lengthy flash videos hosted at <a href="http://www.walkernews.net/2008/02/25/youtube-video-direct-download-link/" title="How to extract the YouTube video direct download link?" rel="bookmark">YouTube</a>, MetaCafe, FLURL, etc.<br />
<br />Although I&#8217;ve been actively using Google Chrome for my web activities, I would like to remind myself (and my friends, and you) to watch <a href="http://www.walkernews.net/2008/08/16/youtube-downloader-download-youtube-video-for-my-mom/" title="Simple YouTube downloader used to directly download YouTube video for your mom who used to watch in legacy TV set." rel="bookmark">YouTube</a> / flash movie with Google Chrome (at least for the time being)!<br />

<ul class="related_post"><li><a href="http://www.walkernews.net/2008/09/21/how-to-copy-youtube-video-or-flv-file-from-google-chrome-cache-folder/" title="How To Copy YouTube Video or FLV File From Google Chrome Cache Folder?">How To Copy YouTube Video or FLV File From Google Chrome Cache Folder?</a></li><li><a href="http://www.walkernews.net/2008/10/23/videocacheview-save-flash-video-from-web-browser-cache-folder/" title="VideoCacheView: Save Flash Video From Web Browser Cache Folder">VideoCacheView: Save Flash Video From Web Browser Cache Folder</a></li><li><a href="http://www.walkernews.net/2008/11/05/how-to-find-and-copy-swf-or-jpg-file-from-google-chrome-cache-folder/" title="How To Find and Copy SWF Or JPG File From Google Chrome Cache Folder?">How To Find and Copy SWF Or JPG File From Google Chrome Cache Folder?</a></li><li><a href="http://www.walkernews.net/2008/09/19/google-chrome-browser-cache-folder-is-defensive/" title="Google Chrome: Browser Cache Folder Is Defensive!">Google Chrome: Browser Cache Folder Is Defensive!</a></li><li><a href="http://www.walkernews.net/2008/11/09/how-easy-to-access-web-search-engine-in-google-chrome/" title="How Easy To Access Web Search Engine In Google Chrome">How Easy To Access Web Search Engine In Google Chrome</a></li><li><a href="http://www.walkernews.net/2009/10/10/how-to-easily-copy-video-from-facebook-and-youtube/" title="How To Easily Copy Video From Facebook And YouTube">How To Easily Copy Video From Facebook And YouTube</a></li><li><a href="http://www.walkernews.net/2009/04/26/how-to-embed-swf-or-flv-file-in-microsoft-excel-2007/" title="How To Embed SWF or FLV File In Microsoft Excel 2007?">How To Embed SWF or FLV File In Microsoft Excel 2007?</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.walkernews.net/2008/10/22/google-chrome-has-more-effective-flash-video-cache-technique-than-ie7-and-firefox-3/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>How To Copy YouTube Video or FLV File From Google Chrome Cache Folder?</title>
		<link>http://www.walkernews.net/2008/09/21/how-to-copy-youtube-video-or-flv-file-from-google-chrome-cache-folder/</link>
		<comments>http://www.walkernews.net/2008/09/21/how-to-copy-youtube-video-or-flv-file-from-google-chrome-cache-folder/#comments</comments>
		<pubDate>Sun, 21 Sep 2008 14:59:14 +0000</pubDate>
		<dc:creator>Walker</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[Windows Vista]]></category>
		<category><![CDATA[Browser]]></category>
		<category><![CDATA[Cache Folder]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[FLV]]></category>
		<category><![CDATA[Freeware]]></category>
		<category><![CDATA[GNU]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[Google Chrome]]></category>
		<category><![CDATA[Guide]]></category>
		<category><![CDATA[Hobocopy]]></category>
		<category><![CDATA[Howto]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Tricks]]></category>
		<category><![CDATA[Video]]></category>
		<category><![CDATA[Volume Shadow Copy]]></category>
		<category><![CDATA[VSS]]></category>
		<category><![CDATA[Youtube]]></category>

		<guid isPermaLink="false">http://www.walkernews.net/?p=1152</guid>
		<description><![CDATA[How to copy, extract or retrieve any media files from Google Chrome cache folder for your offline playback or your mom classic video player at home?]]></description>
			<content:encoded><![CDATA[If you&#8217;ve read my earlier post about <a href="http://www.walkernews.net/2008/09/19/google-chrome-browser-cache-folder-is-defensive/" title="Google Chrome cache file technique is defensive!" rel="bookmark">the defensive Google Chrome cache folder</a> (or from the splog/copycat), you should have known that Google Chrome doesn&#8217;t keeps all caches (<a href="http://www.walkernews.net/2007/06/03/where-is-firefox-internet-files-cache-folder/" title="Where is Firefox temporarily Internet file cache folder?" rel="bookmark">temporarily Internet file</a>) in the explicit <a href="http://www.walkernews.net/2008/03/17/where-is-ie7-cache-folder/" title="Where is IE7 cache folder when IE running in Protected Mode in Windows Vista?" rel="bookmark">cache folder</a>.<br />
<span id="more-1152"></span><br />
I&#8217;ve been trying playback <a href="http://www.walkernews.net/2008/01/11/how-to-embed-flv-flash-in-wordpress-or-html/" title="How to embed FLV or Flash video in WordPress or HTML source code?" rel="bookmark">Flash videos</a> hosted at YouTube and some less famous video hosting sites, and found that the FLV files are not kept in the Google Chrome master cache folder. Indeed, Google Chrome cache those large <a href="http://www.walkernews.net/2008/09/16/swf-export-is-a-green-swf-extractor-freeware/" title="Download SWF-Export v1.8.0.5 freeware to extract or export Shockwave flash video from Microsoft Excel or Microsoft Word document">Flash video</a> in the Windows temp folder of my user account.<br />

And to be frank, I&#8217;m testing this with Google Chrome v0.2.149.30 on <a href="http://www.walkernews.net/2008/05/12/direct-download-vista-sp1-mui-pack-and-vista-ultimate-extras/" title="Direct download Windows Vista SP1 MUI pack for offline installation." rel="bookmark">Windows Vista SP1</a>. If you&#8217;re using other version than what I&#8217;ve tested, please be kind to share what you&#8217;ve found?<br />
<br /><span class="subhead">How to copy YouTube video or Flash video from Google Chrome cache folder?</span><br />
<br />Now, knowing that the large <a href="http://www.walkernews.net/2008/03/16/extract-url-to-direct-download-youtube-video/" title="How to extract YouTube video direct download link?" rel="bookmark">YouTube video</a> or <a href="http://www.walkernews.net/2008/03/22/how-to-extract-swf-flash-from-excel-or-word/" title="VBA source code that used to extract Shockwave flash object or SWF files that embedded in Microsoft Excel or Microsoft Word document." rel="bookmark">Flash video</a> files are cached in Windows temp folder, do you able to directly copy them to other places for &#8220;safe-keeping&#8221; &#8211; either for offline playback or share with your mom and dad who only know how to operate their classic video player and TV set?<br />
<br />Answer: You can copy them <span class="subhead2">BUT NOT</span> with a direct method or the Windows default copy function/command!<br />
<br /><span class="subhead2">Google Chrome cache files technique is defensive!</span><br />
<br />Why it&#8217;s defensive? Let me explain in points form:<br />
<ul>
<li>You can&#8217;t close page (Tab window or Chrome browser) that contains the video you&#8217;ve playback completely. If you do, Google Chrome automatically delete the cached FLV video files in Windows temp folder, immediately.<br />
&nbsp;</li>
<li>While the page is open, the Windows default copy command or Windows Explorer function can&#8217;t copy the cached Flash videos &#8211; it&#8217;ll failed with a &#8220;File In Use&#8221; error message, saying that &#8220;The action can&#8217;t be completed because the file is open in another program. Close the file and try again!&#8221;
<br /><img src="http://www.walkernews.net/wp-content/uploads/2008/09/google-chrome-cache-video.jpg" alt="How to copy cache files from Google Chrome cache folder?" title="How to copy cache files from Google Chrome cache folder?" width="450" height="152" class="size-medium wp-image-1153" /></a><br />
<br /><strong>But, you can&#8217;t close the Google Chrome or have the cached video deleted automatically, as soon as you close the browser!</strong></li>
</ul>
<br />So, you&#8217;ve to <a href="http://sourceforge.net/projects/wangdera/" title="Download Hobocopy, an open source freeware to copy Google Chrome cached video files from Windows temp folder." target="_blank">download an open source program called HoboCopy</a> to copy the Google Chrome cache files that are opened (and thus disallow the default Windows copy function/command to function properly)!<br />
<br />For example, I&#8217;ve used HoboCopy to duplicate/copy that 72.27 MB flash video cached by Google Chrome in Window temp folder to E: drive:<br />
<pre>C:\Users\Walker\AppData\Local&gt;hobocopy Temp\ E:\FLV-Backup\ fla7049.tmp
HoboCopy (c) 2006 Wangdera Corporation. hobocopy@wangdera.com

Starting a full copy from C:\Users\Walker\AppData\Local\Temp\ to E:\FLV-Backup\
Copied directory
Backup successfully completed.
Backup started at 2008-09-18 00:10:43, completed at 2008-09-18 00:11:09.
1 files (72.27 MB, 1 directories) copied, 45 files skipped</pre>
<br />If you&#8217;re using Windows Vista, make sure you&#8217;re using an <a href="http://www.walkernews.net/2007/05/21/open-command-prompt-here-with-elevated-privilege/" title="How to add an elevated Open Command Window Here shortcut in Windows Vista context menu?" rel="bookmark">elevated Command Prompt window</a> (i.e. Command Prompt process with real Administrator privilege) to run the Hobocopy command.<br />
<br />If you find this troublesome or difficult, then just try to Google some freeware or the simple <a href="http://www.walkernews.net/2008/08/16/youtube-downloader-download-youtube-video-for-my-mom/" title="A simple YouTube downloader to download YouTube video for your mom to watch on the classic video player." rel="bookmark">YouTube Downloader</a> of my friend. But, what about other video files hosted on other video hosting sites?<br />

<ul class="related_post"><li><a href="http://www.walkernews.net/2008/11/09/how-easy-to-access-web-search-engine-in-google-chrome/" title="How Easy To Access Web Search Engine In Google Chrome">How Easy To Access Web Search Engine In Google Chrome</a></li><li><a href="http://www.walkernews.net/2008/03/16/extract-url-to-direct-download-youtube-video/" title="Extract URL To Direct Download YouTube Video">Extract URL To Direct Download YouTube Video</a></li><li><a href="http://www.walkernews.net/2008/11/05/how-to-find-and-copy-swf-or-jpg-file-from-google-chrome-cache-folder/" title="How To Find and Copy SWF Or JPG File From Google Chrome Cache Folder?">How To Find and Copy SWF Or JPG File From Google Chrome Cache Folder?</a></li><li><a href="http://www.walkernews.net/2008/11/03/how-to-copy-or-backup-file-that-is-open-in-another-program/" title="How To Copy Or Backup File That Is Open In Another Program?">How To Copy Or Backup File That Is Open In Another Program?</a></li><li><a href="http://www.walkernews.net/2008/10/22/google-chrome-has-more-effective-flash-video-cache-technique-than-ie7-and-firefox-3/" title="Google Chrome Has More Efficient Flash Video Cache Technique Than IE7 and Firefox 3">Google Chrome Has More Efficient Flash Video Cache Technique Than IE7 and Firefox 3</a></li><li><a href="http://www.walkernews.net/2008/08/16/youtube-downloader-download-youtube-video-for-my-mom/" title="YouTube Downloader: Download YouTube Video For My Mom!">YouTube Downloader: Download YouTube Video For My Mom!</a></li><li><a href="http://www.walkernews.net/2008/11/07/how-to-configure-or-disable-google-chrome-proxy-server-settings-independently/" title="How To Configure Or Disable Google Chrome Proxy Server Settings Independently?">How To Configure Or Disable Google Chrome Proxy Server Settings Independently?</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.walkernews.net/2008/09/21/how-to-copy-youtube-video-or-flv-file-from-google-chrome-cache-folder/feed/</wfw:commentRss>
		<slash:comments>33</slash:comments>
		</item>
		<item>
		<title>Google Chrome: Browser Cache Folder Is Defensive!</title>
		<link>http://www.walkernews.net/2008/09/19/google-chrome-browser-cache-folder-is-defensive/</link>
		<comments>http://www.walkernews.net/2008/09/19/google-chrome-browser-cache-folder-is-defensive/#comments</comments>
		<pubDate>Thu, 18 Sep 2008 17:25:09 +0000</pubDate>
		<dc:creator>Walker</dc:creator>
				<category><![CDATA[Freeware]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Browser]]></category>
		<category><![CDATA[Cache Folder]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[Google Chrome]]></category>
		<category><![CDATA[Guide]]></category>
		<category><![CDATA[KnowHow]]></category>
		<category><![CDATA[Open Source]]></category>

		<guid isPermaLink="false">http://www.walkernews.net/?p=1146</guid>
		<description><![CDATA[Where is Google Chrome web browser cache folder? Is it possible to retrieve/copy YouTube video or flash movie from Google Chrome cache folder?]]></description>
			<content:encoded><![CDATA[Google Chrome is an open source <a href="http://www.walkernews.net/2007/08/10/disable-wordpress-directory-listing-in-browser/" title="How to disable WordPress directory listing in web browser?" rel="bookmark">web browser</a>. And, I&#8217;m currently using Google Chrome version 0.2.149.30 (official build 2200) for this topic.<br />
<span id="more-1146"></span><br />
By the time you read this post, most likely you&#8217;ve a latest version that reflects code changes made for enhancements. So, some or all of the Google Chrome cache folder facts written here might become invalid&#8230;<br />
<br /><!--wgadh--><span class="subhead2">First question: Where is Google Chrome cache folder?</span><br />
<br />I believe there is no <a href="http://www.walkernews.net/2008/08/16/video-guide-how-to-show-hidden-system-files-in-windows-vista/" title="How to turn on or enable the show hidden files and folders option in Windows?" rel="bookmark">super-hidden cache folder</a> or &#8220;<a href="http://www.walkernews.net/2007/12/28/vista-ie7-fail-to-print-web-page-to-xps/" title="IE7 may failed to print if you've deleted the low integrity folder used by IE 7 that running in protected mode." rel="bookmark">low integrity</a>&#8221; cache folder introduced by IE 7.<br />
<br />The Google Chrome cache folder name is exactly called &#8220;cache&#8221; and it&#8217;s not a hidden folder.<br />
<br />In my <a href="http://www.walkernews.net/2007/06/28/free-form-screen-shot-with-snipping-tool/" title="Windows Vista Ultimate comes with a little screen capture program called Snipping Tool" rel="bookmark">Vista Ultimate SP1</a> machine, the Chrome cache folder is exactly in this path:<br />
<pre>C:\Users\<span style="color:#66FFFF">&lt;user-name&gt;</span>\AppData\Local\Google\Chrome\User Data\Default\Cache</pre>
<br />As you locating it in Windows Explorer, remember to replace <span style="color:#66FFFF">&lt;user-name&gt;</span> with your Windows user name.<br />
<br />However, this explicit cache folder is not the only one location used by Google Chrome to keep the <a href="http://www.walkernews.net/2007/05/07/retrieve-flash-movie-in-ie7-cache-folder/" title="How to retrieve FLV file from IE 7 Temporarily Internet Files folder?" rel="bookmark">temporarily Internet files</a>, i.e. the &#8220;caches&#8221; that speed up web browsing experience.<br />
<br /><span class="subhead2">Where does Google Chrome cache temporarily Internet files?</span><br />
<br />Unlike <a href="http://www.walkernews.net/2007/03/25/ie-7-xml-feed-display-rss-feed-validation/" title="How to view RSS or ATOM Feed in XML format in IE7 web browser?" rel="bookmark">IE7</a> or <a href="http://www.walkernews.net/2007/11/20/how-to-view-rss-feed-in-xml-format-with-firefox/" title="How to view RSS or ATOM feed in XML format with Firefox web browser?" rel="bookmark">Firefox</a>, Google Chrome doesn&#8217;t cache or keep temporarily Internet files in master cache folder that is either with or without sub-folders.<br />
<br />While running in <a href="http://www.walkernews.net/2008/05/14/missing-windows-search-after-vista-sp1-upgrade/" title="Windows Search gone missing after upgrade to Windows Vista SP1" rel="bookmark">Windows Vista SP1</a>, Google Chrome caches or keeps the temporarily Internet files in two locations (as far as I notice now), i.e. <br />
<ul>
<li>the explicit Google Chrome cache folder that I said just now,</li>
<li>the Windows Vista &#8220;temp folder&#8221; in respective user&#8217;s directory, i.e.
<pre>C:\Users\<span style="color:#66FFFF">&lt;user-name&gt;</span>\AppData\Local\Temp\</pre>
</li>
</ul>
<br /><span class="subhead2">What kind of temporarily Internet files are kept in Google Chrome cache folder and Windows temp folder?</span><br />
<blockquote>I didn&#8217;t go into detail on this question. If you do, please comment to share.</blockquote>
<br />In brief, I found some <a href="http://www.walkernews.net/2007/07/16/simple-javascript-extract-login-form-password/" title="A simple javascript could retrieve password typed in a web login form." rel="bookmark">Javascripts</a>, web pages, pictures, etc, are kept in the explicit Google Chrome cache folder, but appears with a different file name and there is no file extension given to identify their file type.<br />
<br />Most of the &#8220;files&#8221; in this explicit Google Chrome cache folder are of small file size. It seems to me that only temporarily Internet files lesser than 4MB will be kept here.<br />
<br />So, those large YouTube video or <a href="http://www.walkernews.net/2008/01/11/how-to-embed-flv-flash-in-wordpress-or-html/" title="How to embed FLV flash video in WordPress or HTML source code?" rel="bookmark">FLV file contents</a> are not likely in this folder.<br />

<span class="subhead2">Then, where does Google Chrome keeps the large YouTube video or FLV files?</span><br />
<br />Yes, they are kept in the Windows temp folder! And I find that Google Chrome consistently caches the FLV (Flash Video) files in Windows temp folder as <code>fla<span style="color:#00F;font-weight:bold;">409A</span>.tmp</code> kind of file name (where the initial file name is <code>fla</code>, followed by alpha-numeric characters and ended with <code>.tmp</code> file extension.<br />
<br />For your testing, try to watch a lengthy YouTube video (probably 4 minutes or longer) in Google Chrome. For example, this <a href="http://www.youtube.com/watch?v=HELrxLdP85c" target="_blank" rel="nofollow" title="Test this YouTube video in Google Chrome and find out where does the flash video cached by Google Chrome.">LockerGnome &#8220;super lengthy&#8221; video</a> that last for 52 minutes (about 72.2 MB).<br />
<br />While the video is playback, press F5 to refresh the Windows temp folder that list files sorted by &#8220;date created&#8221; option &#8211; in Google Chrome version 0.2.149.30, you could see the YouTube video being cached in Windows temp folder (not that explicit Google Chrome cache folder) is gradually taking up disk space. And, the cached YouTube video is not named as &#8220;get_video&#8221;, &#8220;get_video[1]&#8220;, etc.<br />
<br /><span class="subhead2">Last question: Could you retrieve or copy the YouTube video or any FLV files cached by Google Chrome in Windows temp folder?</span><br />
<br />I tried to copy but failed with an error message &#8220;The action can&#8217;t be completed because the file is open in another program&#8221;.<br />
<br />So, I thought to close the Google Chrome and back here to copy. But, the cached FLV files are automatically &#8220;housekeep&#8221;, almost as soon as I close the Google Chrome!<br />
<br /><span class="subhead">Google Chrome cache technique is defensive!</span><br />
<br />Although you could use <a href="http://www.walkernews.net/2008/08/16/youtube-downloader-download-youtube-video-for-my-mom/" title="YouTube downloader: extract YouTube video direct download link" rel="bookmark">YouTube downloader</a> program or <a href="http://www.walkernews.net/2008/02/25/youtube-video-direct-download-link/" title="How to manually retrieve YouTube video direct download link." rel="bookmark">manually retrieve the YouTube video direct download link</a> to keep a copy of the video for your mom who only like to watch them on the classic TV + player set, you might need to use non-Google Chrome web browsers to retrieve the FLV files on some less popular video hosting sites, via the web browser cache folder technique.<br />

<ul class="related_post"><li><a href="http://www.walkernews.net/2008/09/21/how-to-copy-youtube-video-or-flv-file-from-google-chrome-cache-folder/" title="How To Copy YouTube Video or FLV File From Google Chrome Cache Folder?">How To Copy YouTube Video or FLV File From Google Chrome Cache Folder?</a></li><li><a href="http://www.walkernews.net/2008/10/22/google-chrome-has-more-effective-flash-video-cache-technique-than-ie7-and-firefox-3/" title="Google Chrome Has More Efficient Flash Video Cache Technique Than IE7 and Firefox 3">Google Chrome Has More Efficient Flash Video Cache Technique Than IE7 and Firefox 3</a></li><li><a href="http://www.walkernews.net/2008/11/09/how-easy-to-access-web-search-engine-in-google-chrome/" title="How Easy To Access Web Search Engine In Google Chrome">How Easy To Access Web Search Engine In Google Chrome</a></li><li><a href="http://www.walkernews.net/2008/11/07/how-to-configure-or-disable-google-chrome-proxy-server-settings-independently/" title="How To Configure Or Disable Google Chrome Proxy Server Settings Independently?">How To Configure Or Disable Google Chrome Proxy Server Settings Independently?</a></li><li><a href="http://www.walkernews.net/2008/12/26/how-to-relocate-or-change-google-chrome-cache-folder-location/" title="How To Relocate Or Change Google Chrome Cache Folder Location?">How To Relocate Or Change Google Chrome Cache Folder Location?</a></li><li><a href="http://www.walkernews.net/2008/11/05/how-to-find-and-copy-swf-or-jpg-file-from-google-chrome-cache-folder/" title="How To Find and Copy SWF Or JPG File From Google Chrome Cache Folder?">How To Find and Copy SWF Or JPG File From Google Chrome Cache Folder?</a></li><li><a href="http://www.walkernews.net/2008/11/03/how-to-copy-or-backup-file-that-is-open-in-another-program/" title="How To Copy Or Backup File That Is Open In Another Program?">How To Copy Or Backup File That Is Open In Another Program?</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.walkernews.net/2008/09/19/google-chrome-browser-cache-folder-is-defensive/feed/</wfw:commentRss>
		<slash:comments>17</slash:comments>
		</item>
		<item>
		<title>GNU Coreutils: GNU Date Is Easier For Date Time Calculation In Linux Shell Script</title>
		<link>http://www.walkernews.net/2008/08/29/gnu-coreutils-gnu-date-is-easier-for-date-time-calculation-in-linux-shell-script/</link>
		<comments>http://www.walkernews.net/2008/08/29/gnu-coreutils-gnu-date-is-easier-for-date-time-calculation-in-linux-shell-script/#comments</comments>
		<pubDate>Fri, 29 Aug 2008 15:47:21 +0000</pubDate>
		<dc:creator>Walker</dc:creator>
				<category><![CDATA[Howto]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Calculation]]></category>
		<category><![CDATA[Date Arithmetic]]></category>
		<category><![CDATA[Date Time]]></category>
		<category><![CDATA[Dummy Guide]]></category>
		<category><![CDATA[Epoch]]></category>
		<category><![CDATA[GNU]]></category>
		<category><![CDATA[GNU Coreutils]]></category>
		<category><![CDATA[GNU Date]]></category>
		<category><![CDATA[Julian Time]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[POSIX Time]]></category>
		<category><![CDATA[Red Hat]]></category>
		<category><![CDATA[RPM]]></category>
		<category><![CDATA[Shell Script]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Unix Time]]></category>

		<guid isPermaLink="false">http://www.walkernews.net/?p=1027</guid>
		<description><![CDATA[Do you know how easy to write date time calculation related shell script in Linux, if you've GNU date installed?]]></description>
			<content:encoded><![CDATA[I mentioned about <a href="http://www.walkernews.net/2007/06/03/date-arithmetic-in-linux-shell-scripts/" title="How to query Linux yesterday or tomorrow date? How to perform date arithmetic in Linux shell script?" rel="bookmark">date time calculation shell script</a> in an earlier post. Though, the GNU date examples related to Unix Epoch time (a.k.a. Unix time, POSIX time, Julian time) in that post aren&#8217;t really successful (so as the Julian time calculation in <a href="http://www.walkernews.net/2007/06/14/high-performance-compiler-for-intel-based-system/" title="Intel C++ Compiler ensure high performance program code to run on Intel-based processors." rel="bookmark">C program code</a>) :-(<br />
<span id="more-1027"></span><br />
(Time is not an easy-to-understand topic, especially people who keen on &#8220;A Brief History Of Time&#8221; that written by Stephen Hawking).<br />
<br /><!--wgadh-->OK, put aside that Physics topic about time. Back to the question: How easy is to do date time calculation in Linux shell script (and not about <a href="http://www.walkernews.net/2008/06/23/windows-vista-date-and-time-matter/" title="Knows more about the Windows Vista date and time features." rel="bookmark">Windows Vista Date Time Matter</a>)?<br />
<br />First of all, GNU date is one of the many Linux programs that grouped in a great package, with a given name GNU Coreutils.<br />
<br /><a href="http://www.gnu.org/software/coreutils/" title="The official site of GNU Coreutils" rel="bookmark" target="_blank">GNU Coreutils</a> is bundled with <a href="http://www.walkernews.net/2008/05/17/direct-download-fedora-and-red-hat-linux-iso-cd-image/" title="Directly download Red Hat CD image from Red Hat FTP server" rel="bookmark">Red Hat Linux distribution</a>, and is believed being a ubiquitous GNU package among Linux distributions.<br />
<br />For example, in my <a href="http://www.walkernews.net/2008/01/15/how-to-install-rhel4-in-hp-netserver-lh3000/" title="How do I install RHEL4 in an aging HP LH3000 Netserver?" rel="bookmark">RHEL4 machine</a>, <code>ls -laSh /bin/date</code> shows it&#8217;s only 47KB in size and the <code>rpm -qf /bin/date</code> shows it&#8217;s part of the coreutils-5.2.1-31 package.<br />
<br />This GNU date can either set or change the current system date/time or to display date/time format according to user queries. For those serious programmers who use Julian time, you should happy to know that GNU date understands UNIX Epoch time too!<br />
<blockquote>
<span class="subhead">What is that Epoch Time exactly?</span><br />
<br />The computer times are represented as a count of seconds since an epoch, i.e. a well-defined point of time (hence, it&#8217;s called <span class="subhead2">Epoch time</span>).<br />
<br />On GNU and POSIX systems, the epoch time is defined as 1970-01-01 00:00:00 UTC. Thus, it&#8217;s also known as <span class="subhead2">UNIX time</span>, <span class="subhead2">POSIX time</span>, or some simply calls it <span class="subhead2">Julian time</span>.
</blockquote>
<br />Here are some GNU <strong>date arithmetic and time calculation</strong> examples, which I&#8217;ve referred to the official <a href="http://www.gnu.org/software/coreutils/manual/html_node/Examples-of-date.html" title="The official GNU date examples" target="_blank" rel="bookmark">GNU date documentation</a> (also appears in <code>info date</code>):<br />
<pre>walker@walkernews.net # <span style="color:#F00;font-weight:bold;">date</span>
<span style="color:#00F;font-weight:bold;">Thu Aug 28 17:10:38 BST 2008</span>
walker@walkernews.net # <span style="color:#F00;font-weight:bold;">date -d "3 hours ago"</span>
<span style="color:#00F;font-weight:bold;">Thu Aug 28 14:10:41 BST 2008</span>
walker@walkernews.net # <span style="color:#F00;font-weight:bold;">date -d "+3 hours"</span>
<span style="color:#00F;font-weight:bold;">Thu Aug 28 20:12:01 BST 2008</span>
walker@walkernews.net # <span style="color:#F00;font-weight:bold;">date -d "last month"</span>
<span style="color:#00F;font-weight:bold;">Mon Jul 28 17:13:11 BST 2008</span>
walker@walkernews.net # <span style="color:#F00;font-weight:bold;">date -d "next month"</span>
<span style="color:#00F;font-weight:bold;">Sun Sep 28 17:14:15 BST 2008</span>
walker@walkernews.net # <span style="color:#F00;font-weight:bold;">date -d "+2 months"</span>
<span style="color:#00F;font-weight:bold;">Tue Oct 28 17:14:56 GMT 2008</span>
walker@walkernews.net # <span style="color:#F00;font-weight:bold;">date -d "2 months ago"</span>
<span style="color:#00F;font-weight:bold;">Sat Jun 28 17:16:44 BST 2008</span>
walker@walkernews.net # <span style="color:#F00;font-weight:bold;">date -d "yesterday"</span>
<span style="color:#00F;font-weight:bold;">Wed Aug 27 17:13:35 BST 2008</span>
walker@walkernews.net # <span style="color:#F00;font-weight:bold;">date -d "tomorrow"</span>
<span style="color:#00F;font-weight:bold;">Fri Aug 29 17:13:55 BST 2008</span>
walker@walkernews.net # <span style="color:#F00;font-weight:bold;">date -d "3 days ago"</span>
<span style="color:#00F;font-weight:bold;">Mon Aug 25 17:22:42 BST 2008</span>
walker@walkernews.net # <span style="color:#F00;font-weight:bold;">date -d "+3 days"</span>
<span style="color:#00F;font-weight:bold;">Sun Aug 31 17:23:08 BST 2008</span>
walker@walkernews.net # <span style="color:#F00;font-weight:bold;">date -d "last friday"</span>
<span style="color:#00F;font-weight:bold;">Fri Aug 22 00:00:00 BST 2008</span>
walker@walkernews.net # <span style="color:#F00;font-weight:bold;">date -d "2008-08-22 +3 days"</span>
<span style="color:#00F;font-weight:bold;">Mon Aug 25 00:00:00 BST 2008</span>
walker@walkernews.net # <span style="color:#F00;font-weight:bold;">date -d "2008-08-22 -5 days"</span>
<span style="color:#00F;font-weight:bold;">Sun Aug 17 00:00:00 BST 2008</span></pre>
<br />
<span class="subhead">How to format the GNU date output format? For example, to get the day, weekday, month, year of 23 days ago can be coded as such:</span><br />
<pre>walker@walkernews.net # <span style="color:#F00;font-weight:bold;">date -d "23 days ago"</span>
<span style="color:#00F;font-weight:bold;">Tue Aug  5 18:23:24 BST 2008</span>
walker@walkernews.net # <span style="color:#F00;font-weight:bold;">date -d "23 days ago" +%e</span>
<span style="color:#00F;font-weight:bold;"> 5</span>
walker@walkernews.net # <span style="color:#F00;font-weight:bold;">date -d "23 days ago" +%d</span>
<span style="color:#00F;font-weight:bold;">05</span>
walker@walkernews.net # <span style="color:#F00;font-weight:bold;">date -d "23 days ago" +%m</span>
<span style="color:#00F;font-weight:bold;">08</span>
walker@walkernews.net # <span style="color:#F00;font-weight:bold;">date -d "23 days ago" +%-m</span>
<span style="color:#00F;font-weight:bold;">8</span>
walker@walkernews.net # <span style="color:#F00;font-weight:bold;">date -d "23 days ago" +%b</span>
<span style="color:#00F;font-weight:bold;">Aug</span>
walker@walkernews.net # <span style="color:#F00;font-weight:bold;">date -d "23 days ago" +%B</span>
<span style="color:#00F;font-weight:bold;">August</span>
walker@walkernews.net # <span style="color:#F00;font-weight:bold;">date -d "23 days ago" +"%e-%-m-%Y, %B"</span>
<span style="color:#00F;font-weight:bold;"> 5-8-2008, August</span>
walker@walkernews.net # <span style="color:#F00;font-weight:bold;">date -d "23 days ago" +"%e-%m-%Y, %B"</span>
<span style="color:#00F;font-weight:bold;"> 5-08-2008, August</span></pre>
<br />You may refer to <code>man date</code> for detail list of GNU date output format modifiers. Also, take note the difference of <code>+%m</code> and <code>+%-m</code> is that the later remove the zero padding. <br />
<blockquote>
The zero-padding looks neatly when display in string format. However, zero-padded numeric is not valid in Bash shell script arithmetic interpretation, i.e. 08 &#8211; 05 will fail as the valid syntax is 8 &#8211; 5.
</blockquote>
<br /><span class="subhead">Unix Epoch time calculation examples with GNU date</span> <br />
<br />The <code>+%s</code> is another GNU date output modifier, i.e. to output number of seconds since Unix Epoch. And, the date/time format for <code>-d</code> option switch is close to ISO 8601 date/time format, i.e. YYYY-MM-DD HH:MM:SS (it&#8217;s not a strict <a href="http://wwp.greenwichmeantime.com/info/iso.htm" rel="bookmark" target="_blank">ISO 8601 Date/Time format</a>, but close to it).<br />
<br />For example, the UNIX time of 25th of December 2008 at 12:25PM 08 seconds is given as this:<br />
<pre>walker@walkernews.net # <span style="color:#F00;font-weight:bold;">date -u -d "2008-12-25 12:25:08" +%s</span>
<span style="color:#00F;font-weight:bold;">1230207908</span></pre>
<br />So, the Julian time of 2008-08-08 20:08:08 (the date and time of Beijing Olympic Opening Ceremony) is as such:<br />
<pre>walker@walkernews.net # <span style="color:#F00;font-weight:bold;">date -u -d "2008-08-08 20:08:08" +%s</span>
<span style="color:#00F;font-weight:bold;">1218226088</span></pre>
<br />That&#8217;s 1218226088 seconds elapsed since Unix Epoch time at 2008-08-08 20:08:08. <br />
<br />To convert UNIX Epoch time or Julian time to human readable date/time format:<br />
<pre>walker@walkernews.net # <span style="color:#F00;font-weight:bold;">date -u -d "1970-01-01 1218226088 secs"</span>
<span style="color:#00F;font-weight:bold;">Fri Aug  8 20:08:08 UTC 2008</span></pre>
<br />
<ul class="related_post"><li><a href="http://www.walkernews.net/2008/08/30/gnu-date-generates-consistent-unix-epoch-time-between-time-zones/" title="GNU Date Generates Consistent UNIX Epoch Time Between Time Zones">GNU Date Generates Consistent UNIX Epoch Time Between Time Zones</a></li><li><a href="http://www.walkernews.net/2009/03/11/get-linux-ls-command-to-show-file-timestamp-in-detail-of-seconds/" title="Get Linux Ls Command To Show File Timestamp In Detail Of Seconds">Get Linux Ls Command To Show File Timestamp In Detail Of Seconds</a></li><li><a href="http://www.walkernews.net/2008/07/07/linux-dummy-guide-how-to-send-email-with-content-and-attachment/" title="Linux Dummy Guide: How To Send Email With Content And Attachment?">Linux Dummy Guide: How To Send Email With Content And Attachment?</a></li><li><a href="http://www.walkernews.net/2008/07/06/mysql-dummy-guide-how-to-output-sql-results-to-a-log-file/" title="MySQL Dummy Guide: How To Output SQL Results To A Log File?">MySQL Dummy Guide: How To Output SQL Results To A Log File?</a></li><li><a href="http://www.walkernews.net/2008/07/05/how-to-read-iso-image-file-in-linux/" title="How To Read ISO Image File In Linux">How To Read ISO Image File In Linux</a></li><li><a href="http://www.walkernews.net/2008/06/09/configure-secured-private-key-for-password-less-ssh-login/" title="Configure Secured Private Key For Password-less SSH Login">Configure Secured Private Key For Password-less SSH Login</a></li><li><a href="http://www.walkernews.net/2008/06/06/how-to-setup-non-interactive-ssh-login/" title="How To Setup Non-Interactive SSH Login">How To Setup Non-Interactive SSH Login</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.walkernews.net/2008/08/29/gnu-coreutils-gnu-date-is-easier-for-date-time-calculation-in-linux-shell-script/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

