Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Usually when I want to find a particular file on my local machine, I'll open up a terminal and do find . -name "*blah*" from the directory which I want to search within. Now I want to search from a network share, which I can access in nautilus by browsing to smb://192.168.1.x/blah/ ... or by ssh://192.168.1.x/blah/ .. but how can I open a terminal at this location and/or search for files there?

share|improve this question
add comment

1 Answer

up vote 0 down vote accepted

When you mount a network share in Nautilus in the Connect to Server window, the share is mounted in /home/$USER/.gvfs. So, if your username is bob, and you have mounted the network share Shared Docs on the computer Windows, it would be mounted under /home/bob/.gvfs/Shared Docs on Windows.

share|improve this answer
    
Note though that if you're in the terminal accessing this, spaces in directory names need to be escaped (like this: /home/iamgod/The\ Ending) –  Thomas W. Jul 20 '12 at 16:10
    
Thanks, I forgot about that. You can also put the path in quotes (like this: "/home/iamgod/The Ending") –  Aaron Jul 20 '12 at 16:11
1  
Some programs don't parse that right, if you're using a program to edit files via full-paths, hence why i mentioned escaping. –  Thomas W. Jul 20 '12 at 16:12
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.