On Tue Apr 30, 2002 at 12:01:19AM -0400, Brenda J. Butler wrote: > > > > On Mon, Apr 29, 2002 at 12:05:33PM -0400, jeff wrote: > > Allan Wind wrote: > > > > > cd /usr/local/share/icons; find / \( -name \*.gif -o name \*.jpeg \ > ^^ > > > -o -name \*.jpg -o -name \*.tif -o -name \*.tiff \) -a -type f | \ > > > xargs -i ln -s \{\} . > > In this case, cut'n'paste was your enemy :-( > You left off the hyphen that introduces this test (see > indication above). > > > Also, personally I like to force the period to be a period and > not a wildcard for "any character", just in case there was a file > named myfilewhichisjpg that I didn't want to match. I also > usually put the -print explicitly. > > find / \( -name \*\.gif -o -name \*\.jpeg -o -name \*\.jpg \ > -o -name \*\.tiff -o -name \*\.tiff \) -a -type f -print | \ > xargs -i ln -s \{\} . >
works. I like it. but if you're actually going to use it, wouldn't you want to add a statement for testing, maybe, size & such to try & weed out some non-icans? Like wallpapers & such? Or at least make sure the cache is empty in all your browsers! -- -CraigW -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]