Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
General
GeneralPortable MacsHardwareNetworking
Applications
Mac ApplicationsEudoraFirefox / MozillaInternet ExplorerOutlook ExpressMS OfficeEntourageExcelPowerPointWordVirtual PCMedia PlayerOther MS Products
Programming
Mac ProgrammingCodeWarriorPerl
Country Specific
Australian Mac GroupUK Mac Group

Mac Forum / Country Specific / Australian Mac Group / July 2005



Tip: Looking for answers? Try searching our database.

Command for going to another volume....

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
dale - 24 Jul 2005 14:06 GMT
Hi,

just would like to know , what command do I use to "get" to another volume?

I have a external HD (lacie) and how do I access its files via the Terminal?

I don¹t use the command stuff a lot but this seems be be interesting.

Thanks

;)

10.3.9

1.5 GB ram

1.8 DP Powermac
Jason - 24 Jul 2005 14:23 GMT
> Hi,
>
[quoted text clipped - 3 lines]
>
> I don¹t use the command stuff a lot but this seems be be interesting.

cd /Volumes/NameOfHD

Signature

"Bill Gates is just a monocle and a Persian Cat away
from being one of the bad  guys in a James Bond movie."
                                                        -- Dennis Miller

Sean McNamara - 26 Jul 2005 12:53 GMT
> > Hi,
> >
[quoted text clipped - 7 lines]
>
> cd /Volumes/NameOfHD

with spaces in the name replaced with "\ " (to "escape" the space
character so that the command doesn't think it's dealing with two
variables, which are separated by a space character on the Unix command
line), so "External HD" should be typed as "External\ HD" - to make this
easier, you can use auto-complete by pressing the <tab> key after
starting to type unique parts of the item's path, so you could do this...

cd /Vo<tab>Ex<tab>

and it will autcomplete to

cd /Volumes/External\ HD

(assuming you don't have another directory that starts with "Vo" in your
HD, and you don't have another disk that starts with "Ex" - just type
enough to make what you've typed uniwie to the file/folder/disk you
want).

And, to round off this tip, you can drag the disk into the command line,
so type "cd " (with the space) and then drag the disk into the Terminal
window and it will automatically insert the path to the disk you
dragged. This works with other items, as well, but it's up to you to
make sure the item is of the right sort - if you drag a file when doing
a "cd", for example, the command will return an error, just as if you'd
typed in a path to a file in a "cd" command.

Hope that's of use

Sean

------------------------------------------------------------------------
Sean McNamara                               mailto:sean@macassist.com.au
MacAssist                                             Ph: (02) 8920 0866
Authorised Apple Solutions Reseller                  Fax: (02) 8920 0877
ABN 95 758 412 281                                  Mobile: 0414 270 132
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.