On Friday, May 31, 2002, at 12:45 , Charlie Allom wrote:
> On Thu, May 30, 2002 at 10:04:12PM -0700, Ben Hines wrote:
>>
>> (is this in the FAQ? perhaps it should be?)
>>
>> Likewise, you can delete all *.deb files in your /sw heirarchy
>> without ill effect, other than possibly needing to rebuild things
>> later. They don't affect anything at runtime.
>>
>> In the future there will be some sort of "fink clean" command to help
>> you with this.
>>
>
> sudo rm -rf /sw/src/* ; sudo find /sw -name "*.deb* -exec rm {} \;
Or, for the safety-conscious:
sudo find /sw -name '*.deb' -exec /bin/rm -- {} \;
Single quotes suppress sh/ksk/bash/ filename expansion.
Full path to known good rm.
'--' prevents rm from mis-interpreting filenames which begin with a
dash.
I usually use /sw/fink as my target directory, which should make things
go a bit quicker (and is less typing than "/sw/fink/debs
/sw/fink/dists").
I've been a Unix hacker for too long,
Dan
--
This email impairs your ability to operate heavy machinery.
<mailto:[EMAIL PROTECTED]>
_______________________________________________________________
Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users