You can list all your attached / mounted volumes by typing the following 
command in Terminal:
ls /Volumes/

Make sure you either use an escape character or put your destination volume in 
between quotes if your destination volume name contains spaces.
On Jan 9, 2012, at 11:23 AM, Scott Howell wrote:

> Dan,
> 
> You are on the right track and you would look for the attached drive in 
> /Volumes. So, you might have a drive named Dan and thus the copy action would 
> be:
> cp foo.bar /Volumes/Dan.
> 
> hth,
> 
> On Jan 8, 2012, at 4:45 PM, .dan. wrote:
> 
>> 
>> How does one identify the name of an attached flash drive when in terminal? 
>> I assume that to copy files to it the usual copy command with the name of 
>> the drive as destination will do it.
>> 
>> If you could provide an example command using a dummy drive name it would be 
>> helpful. Please add information and correction as needed.
>> 
>> Thanks,
>> 
>> Dan
>> 
>> 
>> 
>>                              XB
>>                               IC|XC
>> 
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "MacVisionaries" group.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to 
>> [email protected].
>> For more options, visit this group at 
>> http://groups.google.com/group/macvisionaries?hl=en.
>> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "MacVisionaries" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/macvisionaries?hl=en.
> 

-- 
You received this message because you are subscribed to the Google Groups 
"MacVisionaries" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/macvisionaries?hl=en.

Reply via email to