[X-Unix] Can I find some help here?

Stroller MacMonster at myrealbox.com
Tue Apr 5 21:19:53 PDT 2005


I'm obviously doing something really stupid here, and would appreciate 
any pointers. I've been faffing about at this half the night - all I 
want to do is find (programatically) some of Safari's files so I can 
add 'em to a tarball & copy them to my other computer.

I obviously want to exclude the Caches files, but I also have a couple 
of files on my Desktop I want to exclude. I thought I'd start on that, 
as excluding the caches from the tarball will be the same principle, 
but I'm getting extremely stuck:

Powerboko:~ stroller$ find ./ -iname *safari*
.//Desktop/Clearlight.BU/Essentials/Mac Utilities/1.0SafariBeta2.dmg
.//Desktop/Clearlight.BU/Essentials/Mac Utilities/Safari.dmg
.//Library/Application Support/SyncService/Backup Data/Safari
.//Library/Application Support/SyncService/LastSync Data/Safari
.//Library/Caches/Safari
.//Library/Preferences/com.apple.Safari.plist
.//Library/Safari
Powerboko:~ stroller$ find ./ -iname *safari* -not -path *Desktop*
.//Desktop/Clearlight.BU/Essentials/Mac Utilities/1.0SafariBeta2.dmg
.//Desktop/Clearlight.BU/Essentials/Mac Utilities/Safari.dmg
.//Library/Application Support/SyncService/Backup Data/Safari
.//Library/Application Support/SyncService/LastSync Data/Safari
.//Library/Caches/Safari
.//Library/Preferences/com.apple.Safari.plist
.//Library/Safari
Powerboko:~ stroller$ find ./ -iname *safari* -not -regex *Clearlight*
.//Desktop/Clearlight.BU/Essentials/Mac Utilities/1.0SafariBeta2.dmg
.//Desktop/Clearlight.BU/Essentials/Mac Utilities/Safari.dmg
.//Library/Application Support/SyncService/Backup Data/Safari
.//Library/Application Support/SyncService/LastSync Data/Safari
.//Library/Caches/Safari
.//Library/Preferences/com.apple.Safari.plist
.//Library/Safari
Powerboko:~ stroller$

Can anyone show me what I'm doing wrong, please?

Cheers,

Stroller.



More information about the X-Unix mailing list