Tools

More file management with Keyboard Maestro

The spring cleaning of my drives has begun and with it comes several more helpful commands set up within Keyboard Maestro. While you can buy utilities that perform these same actions, by using Keyboard Maestro you can configure exactly how they work and chain them all together into a very handy set of utilities.

I used my previous applet to move a whole series of files and folders, now I'm using another to clean my drive of all sorts of useless and wasteful files. For example, I don't need readme.txt files of 1k. Or file_id.diz of 1k. Or empty directories. Or .nfo files. Or .url files. Just to name a few.

The may not take up much space, but in reality, they do. They occupy the full block of hard drive space, even if they are only a few bytes in size. Why clutter up the drive? Why clutter up a duplicate manager tool? Why clutter up an index tool like NeoFinder?

It's time to get rid of these and dozens more with some easy shell help and a quick UI from Keyboard Maestro.

In my case, the UI has a button to List, Count or Remove the items in question. It then has a dropdown for the drive I want to work with. The results are a text window where I can confirm what's to be removed. If I like what I see, I can run the command again to delete them.

The command in question looks something like this:

filename="Sample*"
find * -iname "$filename" -type d
find * -iname "$filename" -type d | wc -l
#find * -iname "$filename" -type d -exec rm -rf {} +

I also set up a small util to show me the largest files. Again, it has a simple UI to pick the file size I'm interested in, such as 1GB, 5GB, 10GB. In this case, show me all the files larger than 5GB, since those might need to be dealt with. The executed shell command is:

find * -type f -size +"$KMVAR_instance_size"

As I find more and more files I don't need, I add them to my growing list. I can either execute them as shell command within Keyboard Maestro, or create an .sh shell script that processes them as a batch.

Using Keyboard Maestro allows me to make a helpful UI that fills in the parameters of the shell command and lets me get the work done without worrying about the syntax.

Now that I have my command set up, I can use it over and over again, across multiple drives and delete hundreds, if not thousands of files, and clean up a slew of files with a single click.

Other articles of interest:

Productivity Tools for 2020

As we get 2020 underway, I wanted to list a few of the tools I've been using that make a huge difference in my productivity. I use these on a daily basis and they have proven their worth on multiple occasions. This isn't a complete list, but just about everyone can benefit from these tools. They are extremely powerful in what they do, yet easy to learn and understand.

Productivity Tools for 2020

2Do – My choice for task management when testing, for creating checklists, for creating ToDo lists and keeping track of bills and appointments.

Alfred – An automation and workflow tools I have recently added that has already saved huge amounts of time. Navigate Finder using the keyboard, set up custom web searches, find files, set up snippets, make a clipboard manager and build workflows. I've made several of my own custom searches and built some very nice workflows.

CodeRunner – My choice for writing and testing small snippets of code. Works for Java, Groovy, Bash, AppleScript and others.

CopyLess – A very useful clipboard manager that sits on a secondary monitor so I can pull out names and figures with a click.

DevonAgent – An absolute must for those doing research and deep dive searches. Search through hundreds of websites for the information you need while tossing away duplicates.

DevonThink – The most powerful document management tool I have ever used. It stores documents, web site archives, source code, emails, news feeds and just about every other type of information you have on your machine. An absolute gem.

Dozer – Clean up the menu bar with this well designed tool.

Infinity Dashboard – Monitors websites so I don't have to. I use it almost exclusively to monitor price changes on Amazon. In that regard, it's already saved a couple hundred dollars.

Keyboard Maestro – The other half of my automation engine. Set up keyboard shortcuts, automate applications or build your own. An incredibly handy and extremely powerful tool for getting work done in a fraction of the time. You can probably replace paid applications by using this one.

LibreOffice – No interest in Microsoft Office by whatever name they call it. LibreOffice is powerful, effective and has features I actually use.

MiniNote Pro – I have several note taking tools, but MiniNote is the most used. I use it for quick notes about a project or topic I'm working on. It has effective organization to group topics together. It's also a great way to push notes from my Mac at work, to my Mac at home.

MWeb – Another very powerful note taking tool with Markdown capability. Great organization, themes, formatting tools, export capabilities and can publish to the web.

PopClip – My little friend to help format, link, delete or push my selected text to another app. I didn't know how useful this would be until I started using it.

Quitter – A great tool for closing down apps you aren't using. Keep you system tidy and regain some memory for tasks you've completed or will come back to later.

Scrivener – The most glorious word processing tool I have ever used. I've had Scrivener for 5 years now and I don't write documents in anything else. If it's more than a paragraph, it's written in Scrivener.

Simon – It monitors websites so I don't have to. While Infinity Dashboard has some built in modules, with Simon you can monitor anything. Check for new articles, software updates, uploads, or be notified if a site goes down. It's a little more "do it yourself" but very powerful.

SnagIt – One of the best screen capture tools around.

SnippetsLab – If there's a code fragments I'm going to use again, this is where it goes. Great for all types of notes, not just code.

TextSoap – An incredible text formatting tool with a solid editor. Parse text with built in cleaners or build your own. I'm not entirely sure there's a limit to how this can be used. It's an IDE for building ways to parse, clean and copy text.

TypeIt4Me – My choice for text expansion. This has saved so much time and helped fill in so many forms. If you write code, send template emails, work in tech support, or have any reason to write the same piece of text more than once, TypeIt4Me is a must have. It's easy to set up and will save you days of typing.

WindowManager – A great way to keep windows organized. Snap windows to a position on your screen. Maximize, half-size, center, or in the right hand corner, this app makes window position incredibly easy.

Other articles of interest:

CopyLess and PopClip Jump Aboard the Party Barge

Since I’m building up a host of efficiency tools, I’ve added CopyLess 2 and PopClip to my arsenal.

At first glance having CopyLess might seem contradictory since Alfred already has a clipboard manager. Under normal circumstances that would be correct, but I want to use a clipboard manager in a slightly different, but very specific way.

Since I have multiple monitors (4), I want the clipboard manager to float on a second monitor and be visible at all times. It needs to be on top of other apps and not disappear when it loses focus. When filling out forms and working on certain test scenarios, I want to move back and forth as quickly as possible to copy and paste data. I don’t want to repeatedly press key combinations or go to the menu bar to make my list appear.

There are a lot of really good clipboard managers out there, including the one built in to Alfred, but CopyLess was one of the few that could actually stay on top of other applications, keep track of a large list and set aside text as favorites. And because of that, it’s working out really well for me. It also comes in at a very affordable price with some nice customizations.

CopyLess 2

Another tool in the efficiency category is PopClip. This was also a new one to me, but I can see why people are fans. When you select a block of text, it creates a floating bar like you see on iOS devices. But it’s more than just Copy/Paste. There are a hundred plugins available that allow you to do something with that selected text whether it be reformatting it, creating an appointment, performing a search, or turning it into a note.

The popup bar is very handy on it’s own, but when you add the extended functionality of plugins, you get a tool with almost limitless possibilities. It’s another way of linking actions and functions together so you can continue from one task to another in a seamless way.

PopClip

Other articles of interest:

Alfred Climbs Aboard the Party Barge

To get in shape for 2020 I have been looking up productivity tools. Since Alfred is a name I see on dozens of lists, I have to ask myself, who is this Alfred chap and what can he do for me?

Turns out, a lot.

The goal of Alfred is to keep apps and task at your fingertips. With the launch bar you can find a file, open or close an app, send a query to a specific search engine or query a certain site. For example, you can open TextSoap or Scrivener by pressing Alt-Spacebar and typing scrivener. At this point, Scrivener will open. The same would be true to close Scrivener – Alt-Spacebar and type quit scrivener. That alone may not sound like much, but once you do it a couple of times, it's incredibly quick, especially since you don't need to put in the entire app name.

Another big feature is the Web Search. Alfred provides a series of shortcuts to search specific engines or sites for a query term. Using the shortcut bar, you can search Google, Amazon or Youtube directly.

Custom searches can be created for your own sites. In my case, I query for solutions directly against Stackoverflow.com and Katalon.com. It bypasses the steps of opening the browser, entering the address of the site, then entering the search term. It all happens as one action and saves a lot of time and clicking.

The free version offers a lot of speed and functionality gains. But the fun starts when you can hook into Workflows. This is something I am just starting to explore. It's like an Automator tool with Alfred. You can create Actions, Triggers, Hotkeys and kick off several processes all at once.

There are several examples and lots of integration workflows for Slack, Github, Stackoverflow, Amazon and others.

Additionally, if you don't already have a Clipboard manager or Snippets tool, Alfred is ready to help out.

There are all sorts of new possibilities and functionalities here. I can certainly see why Alfred gets a lot of high marks. That, and he's British, with a bowler hat. What's not to love?

Other articles of interest:

Some new tools to tackle the job in 2019

With 2019 practically upon us, I have some new tools to help with project management, task management, along with code and document organization.

Since there is plenty of manual testing to be done, I've brought in Pagico to help manage projects and 2Do, to help with task management and test management. I've got MWeb for note taking, DevonThink Office to organize and manage all my notes, Coderunner to help write code pieces and SnippetsLab to store code pieces I'm working on.

With Pagico, I can create lists, link documents, and group together the information I need for a given project. For example, I can enter due dates, store the links to Requirements and JIRA tickets, create reminders, track open tickets, and link to PDF files. In many respects it's my replacement for Freeter. I've tracked two projects so far with great success.

2Do is for task management, both for personal and project items. It's easy to create a list, set reminders, and even make a test plan without having to resort to Excel. To be honest, I've made one too many checklists using a spreadsheets and it's a terrible experience. 2Do is much easier to organize and structure.

DevonThink Office Pro is the command center of note taking and storage. It can create notes in a variety of formats as well as store documents like .doc, .xls, .pdf and pretty much everything else. Documents and topics can be tagged with keywords and linked together. Web pages can be imported and stored. To be honest, it's feature set is kind of massive. If you need to store information for a topic, this is the tool to handle it.

Coderunner 3 is a very nice tool for working on small code projects, whether they be Groovy, Java, Python or Shell Scripts. It's a very nice editor that keeps things simply and tidy. You can try out a new code idea in an IDE that takes a second to load rather than waiting for all the libraries and plugins to initialize for something like IntelliJ. It's very quick and nimble and I'm quite taken with it.

MWeb is great note taking and markdown tool. It runs very quickly, supports multiple themes as well as making your own, organizes documents into folders and allows multiple tabs. Documents can be exported in a variety of formats such as HTML, Rich Text, ePub, PDF, and Doc. DevonThink can also be used to track and index whatever notes you create.

You wouldn't ask a carpenter to make a fine table using nothing but a hacksaw and a screwdriver. I'm coming to the table with a variety of tools to get the job done and track what it took to complete.

Pagico
2Do
DevonThink Office Pro
Coderunner 3
SnippetsLab

Other articles of interest:

Recent Comments

  • How To Disable the Quicken Registration Prompt (30)
    • David: A BIG Thank you! I regularly reinstall Windows OS’s using different hardware configs. In short, Quicken 2011 (it’s March of 2020 as I write this) has been a program I’ve been very happy with and continue to use....
    • Karen L: Today I rang Reckon Australia again, got a different guy and he talked me through the process of getting me a new product key to enter since I already had the licence and it had been extended. Reckon have only extended it by 1...
    • Karen L: I have Australian Quicken 2008 on Windows 8.1. It keeps asking me to renew my licence which Reckon did for me however the activation won’t work. I tried this to disable the registration prompt however it did not stop the...
  • Parsing Strings in Katalon – Split, Substring and Readlines (6)
    • Don Pedro: String tempText=”Date Month January. Revenue $1,355,721.00″ println(tempText.split(“ \$”)[1]) You need to escape the $ with \$ The [1] on the split captures characters on the right of the split [0]...
    • Prasad: Hi, I need to get the substring from the below string ‘Date Month January. Revenue $1,355,721.00’ I want to extract text after $ value. Please help Thank you
  • Working with Dates and Date Formatting in Katalon Studio (15)
    • Sangeethaa: How to get previous day’s date(Yesterday’s date)? Actually I was using today.previous() before,it was working fine till today morning.Now its not retrieving right date. Can anyone please guide me on this.
    • Don Pedro: That could be a little tricky. First, is the text/format always going to be the same? You will need to do some parsing. Separate the first but of text at 2019. After that, split the text again to get rid of Central Standard...
    • Don Pedro: It should be of the same Date type as today. You could then do some calendar trickery with Calendar /*Calendar c = Calendar.getInstance(); //c.set(Calendar.MONTH, 1) //Set the month, 0=January, 11=December println...
    • josh: I’m testing a page with a string like “Updated November 21, 2019 16:25:32 PM Central Standard Time.” How might I capture the date and time and compare it to current time to verify that the update time was within...
    • zakir hussain: today = new Date() lastWeek = (today – 1.week) can u please help me in understanding what is the return type of lastweek? and I wanted to set nextyear date how can i do it
  • Output status messages and test information by writing to the Log File Viewer in Katalon Studio (6)
    • Saranya: Good One. Could you plz share link to access all your katalon related blogs. ThankQ
    • Rodrigo Calabretta: I’m using the KeywordUtil.markFailed or KeywordUtil.markError and my test stops is being shown as Error and If I use in the @afterTestCase the testCaseContext.getTestCaseSta tus() to show the status test case...
  • Setting up Environment Profiles in Katalon Studio (2)
    • Don Pedro: Not quite sure I understand. The term “Execution Profile” is normally used now, but they are still GlobalVariables and are created in the same way for version 7 as previous. You make a new execution profile, then...
  • Here is my drive cluster (2)
    • Don Pedro: While I still have those drives, the drive cluster looks nothing like that now. Almost all of my external drives have had the cases removed and they have been installed into a series of MediaSonic 8 Bay Drive Enclosures. I...
    • Marin Boucher: Hi! Verry funny blog with “go to the point” on many post! I spent good time reading some of your post. Regarding this one about NAS, “many NAS” in fact, I would be curious to see a screenshot of...