i have the problem, that i would like to search for a file only on SDA not on any mounted NAS-Drives.

there should be some filter:

find /dev/sda -name *filename*; # only search on sda, this is just an example command! ITS NOT GOING TO WORK!

this is way too complicated -> http://stackoverflow.com/questions/4210042/exclude-directory-from-find-command

all the examples there do not “cut it”.

 

liked this article?

  • only together we can create a truly free world
  • plz support dwaves to keep it up & running!
  • (yes the info on the internet is (mostly) free but beer is still not free (still have to work on that))
  • really really hate advertisement
  • contribute: whenever a solution was found, blog about it for others to find!
  • talk about, recommend & link to this blog and articles
  • thanks to all who contribute!
admin