Clean up a Thumb Drive

by Miraz Jordan on Wednesday 06 August 2008

Clean up a Thumb Drive
Mac Tip #350, 06 August 2008

Emtec 1Gb Thumb Drive Many people use thumb drives — those tiny ’sticks’ you plug into a USB port — for storing backups of important documents, and they’re great for that purpose: quick, easy, convenient. Copy files to the drive, drag files from the drive, add, delete — it all takes but a moment. In the screenshot my No Name thumb drive has a bunch of files on it.

The Finder shows several files on my No Name thumb drive Until, maybe, something goes wrong, as friend found recently when one file claimed to be corrupted, and the daily backups wouldn’t complete. This problem isn’t unique to thumb drives, by the way — it can happen any time to any storage medium.

In my friend’s case we did some troubleshooting and then decided to reformat the thumb drive. Here’s how to do that.

Start up Disk Utility. You should find it in the Applications - Utilities folder. The Disk Utility window opens and displays a list of disks in the left-hand column.

Plug in the thumb drive you’d like to reformat. It should also show up in the list of drives.

In the screenshot you can see a list of the internal hard drive and DVD drive on my Mac. My No Name thumb drive is listed, and I’ve selected it in the list. Click on the thumbnail images in this post to see larger versions.

Disk Utility displays a list of drives · Warning about erasing a disk with Disk Utility

Click on the thumb drive in the list to select it.

Now take great care in the next step. When you reformat a drive it completely erases everything that’s on it. Make sure you select the correct disk and also make sure you have copies of any files on the thumb drive that you wish to keep.

After selecting the thumb drive in the list click on the Erase tab on the right hand side of the window.

Choose a Volume Format from the pop-up — try Mac OS extended (Journaled), and if you wish, give the thumb drive disk a name.

Double check that you will be erasing the correct disk and then click the Erase… button. An alert appears reminding you that all data will be erased and asking you to confirm that you wish to erase the drive. Click Erase to wipe everything or Cancel to abandon what you’re doing.

My Thumb Drive now has a name · Secure Erase Options in Disk Utility

My screenshot shows that I’ve selected a thumb drive called 964 MB Ut165 USB2FlashStorage Media and am about to click the Erase button on the alert.

After a few moments the disk is wiped clean. When I look at the disk in the Finder I see that no files remain. In my screenshot you can see the thumb drive now shows up in the left-hand column of Disk utility with the name I assigned it.

Security Options…

If you wish, click the Security Options… button before you erase the thumb drive. Choose from the different methods for erasing, depending on your purpose. If all you want to do is wipe a drive you’ve been using so you can start fresh choose Don’t Erase Data, or Zero Out Data. If you’re cleaning up a drive someone else gave you, to be sure there’s nothing nasty on it, or to give the drive to someone else, choose a more secure option such as 7-Pass or 5-Pass Erase. The more secure the option you choose the longer it will take to erase the drive.

By the way: if you want to reformat a memory card to be used in a cellphone or camera first check the manual and help files for that device. You may be best to reformat the card in the camera or cellphone itself so it uses the correct formatting options.

Popularity: 13% [?]

{ 3 comments }

List Applications and More

by Miraz Jordan on Wednesday 30 July 2008

List Applications and More
Mac Tip #349, 30 July 2008

A colleague recently mentioned he was making a list of all his software — his computer had been in the shop for repair and he felt he needed a backup list of software in case something else went wrong.

Such a list is a handy thing to have, so I thought I’d mention 3 separate ways you can easily compile a list like that. Note: I’m using Mac OS X 10.5.4, Leopard. It’s possible older versions of Mac OS X may behave differently.

Method 1: Copy and Paste

This is the easiest way. Open your Applications folder in the Finder. Select All (Command A, or Edit > Select All) and choose Copy (Command C or Edit > Copy). Now open a text document and choose Paste (Command V or Edit > Paste). A list of all your Applications appears.

Tweaks

  • before the Copy and Paste operation sort the list by Name — the pasted list will also be alphabetical.
  • also use the disclosure triangle to open the Utilities folder. Items from within that folder will appear within the pasted list.
  • Use this technique on any folder that’s open in the Finder.

Note: you have a text editor on your Mac — look for TextEdit in the Applications folder.

Method 2: System Profiler

This is also very easy. Open Applications > Utilities > System Profiler. A window opens, displaying a list of Contents on the left. Select Software > Applications in that list. The right-hand pane displays a list of all your software, including version numbers.

Tweaks

Choose File > Save As from the System Profiler menu, and for File Format choose either Rich Text Format or Plain Text, then save the profile. Open the saved file with your text editor to see a full profile of your computer. Scroll down to find the Applications section.

Click the thumbnail images here for larger versions.

System Profiler - Applications · System Profiler - save as text

Method 3: Command Line

This isn’t entirely hard, but it does require some finicky typing and a moment’s thought. Open Applications > Utilities > Terminal. A Terminal window opens showing a prompt that may say something like ‘Macintosh HD:~ yourname$ ‘. Mine says ‘pluto:~ miraz$ ‘ because my computer is named Pluto and my username on that machine is miraz.

Now you need to type a command that lists the files in the Applications folder and then saves it into a text file, perhaps in your Documents folder. Type the following exactly (including spaces), but replace ‘miraz‘ with your username:

ls /Applications > /Users/miraz/Documents/apps.txt

Then press the Return key.

Terminal - list files

It will seem as though nothing has happened, but look in your Documents folder where you should see a file called apps.txt. Open that file into your text editor and you will see a list of your Applications.

Tweaks

List the contents of any folder by changing the command above. Remember to replace ‘miraz’ with your username. This one lists the Applications > Utilities:

ls /Applications/Utilities > /Users/miraz/Documents/utilities.txt

This one lists the Documents folder:

ls /Users/miraz/Documents > /Users/miraz/Documents/docs.txt

Some explanation

ls - (ell ess) is a command to list things. It’s followed by a Space

/Users/miraz/Documents - refers to the user miraz’s Documents folder

> - is a command to save the information in a file. It has a Space in front and afterwards.

docs.txt - is the name for the file the command saves.

Popularity: 13% [?]

{ No comments yet }

Brighten up the Keyboard

by Miraz Jordan on Wednesday 23 July 2008

Brighten up the Keyboard
Mac Tip #348, 23 July 2008

Sometimes I sit in the semi-dark with my MacBook Pro reading email or news feeds, maybe writing a MacTip. This is especially the case if it’s early morning, and I just don’t want to put on a harsh overhead or desk light.

Luckily the MacBook Pro has a very handy feature that I really miss on my MacBook (not Pro): an ambient light sensor to automatically adjust lights that shine through the keyboard, lighting up the keys.

A recent Tip explained the ambient light sensor that controls monitor brightness on certain models of Mac. The backlit keyboard works in the same kind of way. Brightness is controlled by physical keys in the row at the top of the keyboard.

If you have a Mac equipped with a backlit keyboard try this Tip.

Keyboard Preferences Visit System Preferences > Keyboard & Mouse > Keyboard and notice whether you must hold down the fn key in order to use the F keys across the top of the keyboard for the function printed on the key.

Also check the box labelled ‘Illuminate keyboard in low light conditions’ and adjust the slider for when the backlight should turn off if the computer is not being used.

Any light takes power — if you run on battery a lot turning off the keyboard backlight could squeeze a few extra seconds or minutes out of the battery.

Either take your Mac into a darkish room or cover up the sensor — it’s probably under the right side grille on the keyboard.

Now press the 3 keys that control keyboard backlighting. On my MacBook Pro those keys are F8, F9 and F10. The keys display a horizontal line only, with a nearby fringe of dots and a far away fringe of dots respectively.

Mac keyboard backlight keys - unlit. · Mac keyboard backlight keys - lit.

The two photos show the keys and the effect of the backlight.

F8 is like the Mute key for sound: it turns off the backlighting altogether. F9 decreases the brightness, while F10 increases brightness.

I find the keyboard backlight feature incredibly useful. How about you?

Popularity: 18% [?]

{ No comments yet }

Scenic New Zealand.