#6
|
|||
|
|||
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***"; } I'm not quite sure if it should be '$1', '$*' or '$@'. '$1' seemed safest. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
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 |