View Single Post
  #4  
Old 08-14-2006, 06:55 PM
minckster minckster is offline
Registered User
 
Join Date: Apr 2006
Posts: 18
No, I'm trying to prevent the shell command 'locate' from returning two entries for every match, one from Macintosh HD and another from Backup HD. It's really a MacOSX or Unix question. Its relation to SuperDuper! is that the only reason I have backup drive is because of your excellent program.

I've figured out the command sequence to filter out the results in the backup drive
Code:
locate SOMESTRING | grep -vw \/Volumes\/Backup\ HD
Now I just have to figure out how to write the shell function in .bashrc so it sticks.
Reply With Quote