Posts Tagged “find”

When I need to use Windows either for Microsoft Office products or some other reason I find myself in Notepad++ a lot. Notepad++ is a great free tool that provides a ton of functionality including the ability to easily add plugins, etc. One great feature of Notepad++ is the Regular Expression capabilities when using find/replace. If you wanted to add data to the beginning of each line or add data to the end of each line you can easily do so using find and replace with Regular Expressions enabled as shown in the below examples.

Read the rest of this entry »

DeliciousStumbleUponDiggTwitterFacebookRedditLinkedInEmail
Tags: , , , , , , , , , , ,

Comments No Comments »

Earlier tonight I created a little script that will run in cron on a Linux server. The script counts the number of directories and files in a specific directory and if the count is above Y then it deletes directories and files older than X number of days. In the example script below the number of items (directories and files) that have to be located in the directory before the script to delete files older than a specific date is 10. If there are ten items then the script will delete items older than 90 days. Below the script is the entry made in a specific users cron on the Linux server.

Read the rest of this entry »

DeliciousStumbleUponDiggTwitterFacebookRedditLinkedInEmail
Tags: , , , , , , , , , , , , , , ,

Comments No Comments »

An alternative to the built-in search/find in TextMate is the Grep in Project command for Textmate. An even better alternative is AckMate. It can be downloaded here. Unzip the file, double click the file, and restart TextMate to fully install. After installing, go “Edit > Find > Search Project with AckMate…”

AckMate searches iteratively so that each match is displayed as it’s found and can even be clicked while searching in the background. The Mac keyboard shortcut is Control-Option-Command F (three adjacent keys to the left of the spacebar)

DeliciousStumbleUponDiggTwitterFacebookRedditLinkedInEmail
Tags: , , ,

Comments 1 Comment »

I recently had a friend who wanted to find out his windows product key. his sticker had worn off his computer and he needed to reinstall Windows. There is a great tool for this called the Magical Jellybean Keyfinder. I have been using it for years and it has just been a great tool. It will not only find wour Operating System product key but it will also find the keys for all Windows based products such as Office, Visio and Project. Its a simple tool to get and use but it is a real blessing in many IT situations.

Read the rest of this entry »

DeliciousStumbleUponDiggTwitterFacebookRedditLinkedInEmail
Tags: , , , , ,

Comments No Comments »

I had a document the other day that I needed to search through on my Windows laptop and find specific number combinations that started with a specific three digits and ended with another digit. For example I had a list of thousands of numbers and needed to find any number that matched 333xxx4 where the xxx could be any number combination. At first I wasn’t sure what application I should use on Windows but then I remembered that Notepad++ had regular expression search and replace support. Below is an example of searching for the combination I mention above along with a list of other regular expressions that can be used for matching variables in documents opened with Notepad++.

Read the rest of this entry »

DeliciousStumbleUponDiggTwitterFacebookRedditLinkedInEmail
Tags: , , , , , , , , , ,

Comments 18 Comments »