Quantcast
A Graphics.com site
Ivan's picture

Path shortcut for Terminal

Terminal path shortcut

Have you ever had to type up a full path to a file on your hard disk in Terminal? It can be a dauntic task and one can easily make a typo making the whole command to fail. This is especially the case when you have spaces in folder or file names.

There is a simple way to autotype file or folder path. Just navigate to the file or folder in question in Finder and drag the file or folder itself into Terminal. This operation will instantly insert the path just as if you had typed it in. You can do this operation at any time and any number of times.

himynameiznate's picture
16 pencils

That is pretty cool. You can also hit tab to autocomplete the directory and file name.

For instance
/Users/username/
Type the first letter of the filename or directory, then hit tab, and it will autocomplete the name. You can do this through every level...

Josh's picture
154 pencils

Thanks!

I don't use terminal too much, but can really see how this could come in handy.

---------------------
Josh Stevens | Nautilus7 Design

---------------------
Josh Stevens | My Site
My CB Blog

Latest critique

  • Frey's Boutique
  • New Macsolutions logo /BC - Advice Appreciated

On Demand Videos

Photoshop: From Ho-hum to Wow!
You can use Photoshop to bring out the magic of photos that are muddy, soft, or blandly composed.
watch a preview

On Demand Videos: Video tutorials for advertising pros and designers providing tools and information you can trust — and use — on your very next project. Subscribe today!

Creativebits recommends

stocklogos.com logoawards.mediabistro.com

Marketplace