Skip to main content

Precise & Quick Search for Windows Files/Folders with Regular Expressions

I have a lot of music files, take a lot of digital pictures and save a lot of webpages locally on my computers and have had trouble looking for a right file or folder when hundreds or thousands of them are accumulated on the hard drive.

Apple iTunes has helped me a lot on music and PDF files and I have had less trouble looking for a right one when I need it. iTunes is now my favorite tools to manage my music library and the PDF-based research papers.

I don't prefer to use software like ACDSee, which I believe use the same principle as the "iTunes Music Library", to manage my picture library because it's not practical to store all pictures locally on a hard drive as I normally take pictures in RAW format, the size of which is typically 6 megabyte each. I need to archive them to DVD discs from time to time to free up the space of my hard drive, even though now it's 200GB in size.

What I usually do with my files or folders naming convention is that I try to put a lot of meaningful keywords in its name so that it could be easy to look for later on. When I need to archive the files on to a CD or DVD, I use a CD/DVD cataloging software to make a catalog of the files and folders on the CD or DVD and store it as a text file (which of couse could be XML-formatted file) on my hard drive for later searches.

Modern file-management utilities in Windows such as Total Commander (a software inspired by the famous Norton Commander back in the DOS days 10+ years ago) and PowerGREP provide a nice search feature that allows us to search for a file/folder name or for a text content inside a file by either using simple string-matching search or a more sophisticated and powerful regular-expression (RegEx) search. I have been getting very good search results with my file naming and cataloging practice and the regex seaches. It usually take me less than a few minutes to get a right file/folder from so many archive CDs and DVDs, and I get the right file/folder almost instantly if they are stored locally on the hard drive.

The current Microsoft Windows XP operating system doesn't have a powerful file metadata mangement system like Spotlight on Apple's Mac OS X Tiger and the long-anticipated metadata-rich WinFS from Microsoft hasn't yet arrived.

The practice that I've been using (and, as always, have been improving) might be useful for you. Please feel free to share with me your idea/technique if you like!

Resources on Regular Expressions:
Wikipedia: Introduction to Regular Expressions
Regular Expressions Reference - Basic Syntax

Keywords: , , , ,

Comments

Popular posts from this blog

"Microsoft.ACE.OLEDB.12.0 provider is not registered on the local machine" Error on Windows 7 (64-bit) + Office 2010 (64-bit) + Visual Studio 2010

If you use (1) Windows 7 (64-bit), and (2) Office 2010 (64-bit), and  (3) Visual Studio 2010 to write an ASP.NET code to connect to Access or Excel database using the Microsoft.ACE.OLEDB.12.0 provider and consistently get the "Microsoft.ACE.OLEDB.12.0 provider is not registered on the local machine" error, try installing the 2007 Office System Driver: Data Connectivity Components , which is basically a Microsoft Access Database Engine 2007 Redistributable for Windows (32-bit) from http://www.microsoft.com/download/en/details.aspx?id=23734 Many forums suggested by Google Search suggest installing the Microsoft Access Database Engine 2010 Redistributable for Windows (32-bit, 64-bit) downloadable from http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=13255 but it wouldn't help because Visual Studio 2010 is a 32-bit application; what you need is a 32-bit Data Connectivity component. The 2010 download will not allow you to install i...

Tips: Mac OS X: Full ANSI Color Support in Terminal.app

I'm trying to switch my Java development platform from Windows XP to Mac OS X Tiger. Wondering how to colorize the Terminal screen, I spent some time googling. From the discussions at the end of this page: macosxhints.com - Add full ANSI color support to Terminal.app Here's a summary of how to enable it: With bash shell as default, simply add export TERM=xterm-color [I prefer this for Linux compatibility] or export TERM=dtterm in the ~/.profile (single-user) or /etc/profile (system-wide) Color terminal is enabled. Use ' ls -G ' (the -G enables color output) to test. Add alias ls='ls -G' in the profile file for convenience. Keywords: mac-os-x , unix , terminal , shell , tips

Lenovo IdeaPad S10: Annoying Fan Noise Fix and Heat Conduction Upgrade

Here's a repost of my message on the Lenovo.com board: I would like to thank Slash (on Lenovo.com board) so much for his messages on this thread: http://forums.lenovo.com/lnv/board/message?board.id=IdeaPad_Netbook&message.id=1183#M1183 I decide today (February 28, 2009) to walk into a Lenovo Service Center inside a computer mall in downtown Bangkok because I cannot tolerate the constant grinding noise from my S10 anymore. I bought my S10 in late November 2008 and I started to hear some grinding noise in late December 2008. I have been using the S10 as my primary computer both for work and for home. At work, this noise has embarrassed me many, many times. At home, I left the S10 with Vista in High Performance mode on overnight so that it can complete the maintenance tasks, e.g., HDD Defrag and Indexing, but the fan noise from high CPU temperature woke me up at 4:45 in the morning! I learned from Slash's picture http://i41.tinypic.com/25alq3d.jpg that Lenovo chose to use chea...