using a terminal to access my USB

Joined
Nov 17, 2011
Messages
6
Reaction score
0
Points
1
I think I have some hidden files on a UBS drive. I want to delete them & have tried using a terminal to change directories to the drive. I have tried the command cd /'STORE N GO' ( the name of the drive) however it comes back & tells me there is no such directory as STORE N GO.

Any suggestions?

Thanks
 
Joined
Jul 30, 2008
Messages
41
Reaction score
0
Points
6
Your Mac's Specs
Macbook Pro 2.0 I7, Macbook Pro 2.4Ghz 15, Macbook 2.16Ghz, Imac 3.2GHz 21.5, Macbook Pro 13 2.23Ghz
from terminal type mount then hit enter

phila_mac:~ phila$ mount

You will get a result that shows what is mounted where

/dev/disk1s2 on / (hfs, local, journaled)
devfs on /dev (devfs, local, nobrowse)
/dev/disk0s2 on /Volumes/Userdata (hfs, local, journaled)
/dev/disk0s3 on /Volumes/BOOTCAMP (ntfs, local, read-only, noowners)
map -hosts on /net (autofs, nosuid, automounted, nobrowse)
map auto_home on /home (autofs, automounted, nobrowse)
localhost:/wLH33xRMhA0tN_wklHcT5O on /Volumes/MobileBackups (mtmfs, nosuid, read-only, nobrowse)
/dev/disk2s10 on /Volumes/Time Machine (hfs, local, nodev, nosuid, journaled)
/dev/disk2s12 on /Volumes/NP (hfs, local, nodev, nosuid, journaled, noowners)

Then try changing dir to where it's mounted.
 

vansmith

Senior Member
Joined
Oct 19, 2008
Messages
19,924
Reaction score
559
Points
113
Location
Queensland
Your Mac's Specs
Mini (2014, 2018, 2020), MBA (2020), iPad Pro (2018), iPhone 13 Pro Max, Watch (S6)
Disks are mounted to /Volumes by default. Look in there (you can see this in the mount report posted by shadco above).
 
OP
M
Joined
Nov 17, 2011
Messages
6
Reaction score
0
Points
1
Thanks!

Thanks to Shadco & vansmith. Your information has solved my problem. You ae both very helpful. Hopefully I'll remember next time I want to do it. And yes there were hidden files . .
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top