On Thu, 2002-01-31 at 19:45, Cyril Niklaus wrote:
> Hello all,
> 
> Just a quick question, is there a preferred way or tool to "clean up" 
> one's /sw directory of old tarballs and debs, instead of going through 
> all the sub folders and deleting things by hand?
> 
> Thanks
> Cyril
> 
> 

Something like 

find /sw -name \*.deb -exec rm -f {} \;
find /sw -name \*.tar.gz -exec rm -f {} \;

Although you may want to try the commands without the -exec portion
first just to see what is there so you don't wipe out things you 
want to keep.


> _______________________________________________
> Fink-users mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/fink-users
-- 
Craig

-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GAT d-(pu) s+:+ a-- C+ UL++++$(*++++) P+++ L++ E++>+++ 
W+ N ?o ?K w-- !O M++ ?V PS---(+++) PE(+) Y++ PGP++ t
5 X R tv- b++ DI+ D G e++>+++++ h--- r++ !z   
 ------END GEEK CODE BLOCK------

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to