Technology Insights

Count How Many Files Are In A Directory And All Sub Directories On A Linux Server

Counting files in Linux is fairly easy by simply listing the files using ls and then using the wc application. Both the ls application and the wc application are core Linux applications and should be installed by default on your server. One thing that I had forgotten how to do was how to count all files in a specific directory as well as all files in each sub directories. The second method I will display below is not 100% accurate because it will count sub directories twice however it is likely you just need a round about method to get an idea of how many files and sub directories you are working with. Below I describe first how to count all files and directories within a single directory and second how to count all the files, sub directories, and files within the sub directories via a Linux shell or command prompt.

Technology Insights

Tabbed Windows Explorer In Windows 7 Using Cubic Explorer

Well the title of this article is a little misleading but I wanted to make sure that people understood what alternatives were available for Windows 7 Windows Explorer. I just got done writing another article about my Windows 7 Ultimate 64-Bit and QTTabBar experiences which can be read here. To summarize I have been using QTTabBar on Windows XP for over a year and was very happy with the results but once I installed QTTabBar on Windows 7 I started having all sorts of issues. This sent me into a panic looking for alternatives because I used the Windows Explorer tabbed functionality all of the time. I am happy to say that I found an even better alternative for Windows Explorer tabs on Windows 7 by installing a Windows Explorer replacement called CubicExplorer. Continuing reading to discover the benefits of CubicExplorer as well as why using an alternative to Windows Explorer on Windows 7 really isn’t so bad.

Technology Insights

Get A List Of Files That Are Different In Multiple Directories On Windows

When upgrading web applications it can make life much easier to get a list of files that have changed since the last version. This way you only have to overwrite a small number of files so if you won’t have to make all of your customizations again. The best application to use on Windows to do this is WinDiff. WinDiff is a very lightweight application that does not require installation to run. Below are some screenshots of WinDiff, where to download WinDiff, and instructions on how to compare two directories of like files.

Technology Insights

Windows XP Slow After Windows Search Installed

I haven’t done a ton of testing with Windows Search but the goal is to rival Google Desktop application that allows you to easily search directories and files on your computer. I have installed and tested each of these on my laptop and quickly uninstalled each. Currently my laptop has 2GB of RAM and a 1.2GHz processor and at this point just not enough power to handle either application. I have yet to try it on one of my desktops with a more powerful processor and more RAM however I still don’t think it would be worth the processing and memory cost. After uninstalling Windows Search my Outlook and Internet Explorer applications were immediately much faster.