Mac Tip: Change Screen Capture Format With Terminal

Remember how easy it is to screen capture on a Mac?

Cmd + Shift + 3

to take a picture of your Entire active screen.

While

cmd + Shift + 4

gives you some crosshairs that allow you to select what you want to copy.

Only problem is, the files are always saved as .png files. This is annoying if you want them in another format like .jpg. Normally you’d have to open your image editor of choice and then re-save it.

Turns out there is an easier way though!

All you have to do is run this Terminal Command

defaults write com.apple.screencapture type jpg

then restart your computer. Now every time you take a screenshot it will be in .jpg format.

If you want your screenshots in other formats like gif, png, or even pdf just change it in the terminal.

Via TUAW

Advertisements

Burn After Reading Was Great

Burn After Reading Poster

I saw “Burn After Reading” at the theater last night. I thought it was great. If you liked the trailer you may like it. If you thought the trailer was lame you have a much higher chance of liking it, or at least that was my case.

Go see it. It’s funny. You’ll laugh. Or you’ll stare uncomfortably at the screen.

Also the “PC or Mac” line cracked me up.

Update: Found the CIA Man song by the Fugs, that you hear at the end credits, on Amazon MP3.

Mac and Linux Tip: Bulk Rename File Extensions With Terminal and/or Shell

How To: Bulk Rename File Extensions With Terminal/Shell

Lets say you have a bunch of .jpg files that you know are actually .rar files.

What would be the simplest way to rename them all?

First you’d navigate to the directory that contains the .jpg files with the “cd” command

For brevity lets assume the only .jpg files in this directory are .jpg files that you want to change

All you have to do is run this command

mv *.jpg *.rar

And all the .jpg files will have been renamed to .rar

If you want to learn more about the “mv” command just type in

man mv

New iPhone Ads

Apple just put out some new iPhone ads.

Thats all well and good but the cool thing is the song thats playing, “You, Me, & the Bourgeoisie By The Submaries“, which I’ve been listening to for the last month and its really good.

Personally though I don’t think the song was used very well in the ad. Comparatively to the MacBook Air ad, with Yael Naïm, anyway.

Via TUAW

Mac Tip: Add The Date To The OSX Menu Bar Without Installing Additional Software

I was surfing around and finally found out how to add the date to the OSX menu bar without installing additional software!

The tip says you need to use the medium category, but only the Long category for Times worked for me. This may be due to a difference between 10.5 and 10.4.

The following tip

Want to see the date in the menubar? Start by opening the International Preferences panel, and clicking the Formats tab.

In the Dates section, click Customize. Click the Show pop-up and select your choice of Short, Medium, etc. Now place the elements you want in the small “work area,” by dragging and dropping them from the Date Elements section. Once placed, you can click on some elements to see other options (Wednesday or Wed, for instance). Once you’ve built the date string you want, click once in the work area, and hit Command-A then Command-C to select the string and copy it. Now click Cancel to close the window without making any changes.

In the Times section, click Customize, and set the Show pop-up to Medium. In the small work area below the pop-up, place the curser where you want the date elements to start, and click to position the cursor. Now hit Command-V to paste the elements you just copied. You can further add characters and spaces to customize the look. If you want to remove an element (i.e. the year), click on it and use the Delete key. Click OK, and you’ll see the results in the menubar.

MacOSXHints

Since a picture is worth a thousand words here is how I have Time Long set

Mac Tip: Change The Login Screen In Mac OSX

Am I the only one that’s getting tired of Leopards fireworks loginscreen? It turns out you can replace that image with anything of your choice. Heres how.

Go to

Hard Drive > System > Library > CoreServices > DefaultDesktop.jpg

replace that jpg with your new backdrop

Type in your admin password when prompted and you’re done!

Just remember to backup the original DefaultDesktop.jpg incase you decide to switch back to the default at a later date.

Via Lifehacker Comment