Shirt Pocket Discussions  
    Home netTunes launchTunes SuperDuper! Buy Now Support Discussions About Shirt Pocket    

Go Back   Shirt Pocket Discussions > SuperDuper! > General
FAQ Community Calendar Today's Posts Search

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #6  
Old 08-14-2006, 07:38 PM
minckster minckster is offline
Registered User
 
Join Date: Apr 2006
Posts: 18
Whew! Here's the line to add to .bashrc to redefine 'locate' so it excludes everything on the backup drive:
Code:
# Exclude the backup drive from locate's results
function locate() { command locate $1 | grep -vw \/Volumes\/Backup\ HD; echo "  ***REM: I redefined locate to exclude Backup HD***"; }
Of course the 'echo' part isn't required. I want it there in case something goes wrong with my custom 'locate,' so I won't forget that I had customized it.

I'm not quite sure if it should be '$1', '$*' or '$@'. '$1' seemed safest.
Reply With Quote
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Long Hang While Copying BackerUpper General 4 06-12-2006 08:26 AM
Hard drive size needed for backup? Hoosier_1701 General 8 05-20-2006 07:49 AM
How to verify a Scheduled Backup? tuqqer General 3 12-06-2005 06:50 PM
automatic initiation of backup when I plugin/mount my external Firefox drive? mykmelez General 3 07-11-2005 03:00 PM
Laptop freezes buring backup kaalm General 5 05-12-2005 04:15 PM


All times are GMT -4. The time now is 11:54 AM.


Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2024, vBulletin Solutions, Inc.