image
image

Go Back   macosx.com > Mac Help Forums > Unix & X11

Reply
 
LinkBack Thread Tools
  #1  
Old July 21st, 2003, 02:04 PM
Registered User
 
Join Date: Jan 2003
Location: Woodstock, VT
Posts: 42
Thanks: 0
Thanked 0 Times in 0 Posts
griz is on a distinguished road
Tip: Drag and Drop text in Terminal

I happened across a nifty shortcut today while using the terminal. If you would like to copy and past a filename from one place in the terminal into the command line, rather than selecting the text and using copy/paste, you can select the text and grab it and drag it just a little ways down in the window, about one or 2 lines is all it takes and the selected text will be inserted at the command line.
This action is very similar to dragging a file from the finder into the terminal window which fills in the file path. This also works for copying text from one terminal to another.
Reply With Quote
  #2  
Old July 22nd, 2003, 12:48 PM
hazmat's Avatar
Rusher of Din
 
Join Date: Oct 2001
Location: Brooklyn, NY
Posts: 1,803
Thanks: 0
Thanked 0 Times in 0 Posts
hazmat is on a distinguished road
Yes. And if you drag a file or folder into a terminal window it will print the full path to it where the cursor is. And you can drag highlighted text outside of the terminal windows into other things, like a URL into your browser, into a text clipping on the desktop, etc. Very handy.
Reply With Quote
  #3  
Old August 5th, 2003, 03:53 AM
slur's Avatar
Geek / Hedonist
 
Join Date: Dec 2000
Location: Florence, MA
Posts: 542
Thanks: 0
Thanked 0 Times in 0 Posts
slur is on a distinguished road
And.... Pressing Command-Shift-V in the Terminal will copy and paste whatever text is currently selected without polluting the clipboard.
__________________
|
| slur was here
|

check out my creative music software
Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't drag and drop anything... retrotron Mac OS X System & Mac Software 19 September 10th, 2003 02:03 AM
Drag and Drop Shell Script macxonly Software Programming & Web Scripting 1 May 17th, 2003 08:11 AM
I lost Drag and Drop jkohler22 Mac OS X System & Mac Software 3 January 2nd, 2003 12:42 PM
drag & drop breaks (jag) scaryfish Mac OS X System & Mac Software 5 October 13th, 2002 06:16 PM
Can't drag & drop bookmarks out of IE mfuse Mac OS X System & Mac Software 6 February 23rd, 2002 04:30 AM


All times are GMT -5. The time now is 09:04 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0 RC1
Copyright 2000-2010 DigitalCrowd, Inc.