One of the key features missing from Mac OS X is the ability to cut and paste files in the Finder; you can only copy and paste. With two handy Automator Services, though, you can do either through simple keyboard shortcuts.
Inspired by reader John’s tip on a $US5 app that added this functionality, I set out to create my own, free option (that didn’t require an app running in the background). Unfortunately, it doesn’t work exactly as the cut and paste functionality in Windows, but it’s about as close as we could get. The main difference (on the surface, at least) is that you’ll need to assign a different keyboard shortcut to pasting cut items than you use for copied items. Here’s how to set it up.
First, download this zip file containing two Automator Services (Cut File and Paste File) and extract them to your ~/Library/Services/ folder (if it doesn’t exist, you can create it). Then, open up a Terminal and type in this command:
mkdir /cuttemp
Next, go into System Preferences, hit Keyboard, and go to the Keyboard Shortcuts tab. Hit the plus button to add a new shortcut. Choose Finder for the application, “Cut File” (without quotes) for the menu item and anything you want for the shortcut—I use Command+Shift+x, which is similar to the traditional shortcut for Cut. Then, hit the plus button again and do the same, but with “Paste File” (no quotes) as the menu item and anything you want as the shortcut (I use Command+Shift+V).
Now, whenever you want to cut and paste a file (or multiple files) from Finder, just select them, hit Command+Shift+X, go to the folder where you want to paste them, and hit Command+Shift+V. The original file won’t be trashed until you paste it, so if you forget to paste it, it won’t go away. Unfortunately, this only works for files at the moment and not folders.
Note that I just wrote this today, so be sure you’re backed up when you try using it, because you never know what small errors might have creeped in. And of course, if you notice any errors in my code, let me know in the comments!
Update: Unfortunately, there’s a problem with the paste script that makes it only usable on my computer. For now, if you want to use it, you can open up Paste File in Automator, remove the .cuttemp folder from the first action, and replace it with your own (you’ll have to show hidden files and drag it from your desktop into the first action’s box). I’ll update the post when I fix the problem.
Update 2: Everything should be working now. The only snag you might hit is if your primary hard drive is not named “Macintosh HD”. I’ll work on it and see if I can’t find another way, but most people should be OK. Alternatively, you can open up the Paste script in automator and replace the cuttemp folder in the “Get Specified Finder Items” action with your own.
Republished from Lifehacker.




















Uncle Bob
Thursday, August 26, 2010 at 11:49 AMany reason can’t use windows style keyboard short cut of “Control X” & “Control V” so it is still a 2 button operation?
Willo
Thursday, August 26, 2010 at 2:28 PMSome people must *really* hate drag and drop functionality that the Apple GUI has had since 1984…
d33v
Thursday, August 26, 2010 at 3:21 PMOr hold the “Command” (AKA Apple) key while dragging a file to Move it.
Ha
Thursday, August 26, 2010 at 9:38 PMWaitWaitWait, this is new to me… I never knew Mac couldn’t cut and paste.
It’s got even less functionality than I thought it had.
Eddie
Friday, August 27, 2010 at 12:03 AMDrag and drop is best only when the destination folders are visibly easy to access.
Try drag and drop a file from a folder to another which is like 7 levels away.
Lachlan Heywood
Friday, August 27, 2010 at 12:15 AMOS X has a whole bunch of stupid standards that don’t work as they should e.g. the Home and End keys. If you want to go to the start of the line of text you have to press command+left. How is two buttons easier than 1, Apple?
wat
Saturday, August 28, 2010 at 7:54 PMdid i smell copycat here?