Find the answer to your Linux question:
Results 1 to 4 of 4
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Search tool going through my Windows shared folders


    Hi,

    I've got Mint 13 installed as guest in VirtualBox and have 3 shared Windows folders enabled. Whenever I do a search thru the file system it also unnecessarily searches through these windows shares (drives) which are 100's of gigabytes. So it gets bogged down and the searches take a long time.

    The shared folders are in the Media folder. Is there any way I can prevent the search tool from going thru these?

    Thanks.

  2. #2
    Linux Guru
    Join Date
    Oct 2007
    Location
    Tucson AZ
    Posts
    3,190
    How are you doing the search? You should be able to restrict the search parameters to any directories you want?

  3. #3
    if you are using GNU find, you can use this to ignore the CIFS (Samba) filesystem:

    Code:
    find . ! -fstype cifs
    or you could use this to not descend into all other filesystems:
    Code:
    find . -xdev

  4. $spacer_open
    $spacer_close
  5. #4
    OK, issue resolved. The problem was in doing searches using the Caja file explorer, in which case it would search thru the windows shares. Using the stand-alone search tool did not have this problem.

    Thanks.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •