Go Back   DaemonForums > Miscellaneous > Guides

Guides All Guides and HOWTO's.

Thread Tools Display Modes
  #1   (View Single Post)  
Old 5th March 2011
Astyanax Astyanax is offline
Real Name: Eugene Zykov
New User
Join Date: Mar 2011
Location: Odessa, Ukraine
Posts: 2
Default TIP: How to clean NetBSD pkgsrc tree

Here is a faster way (faster then doing make clean) how to clean /usr/pkgsrc tree in NetBSD.
I assume, that pkgsrc tree is installed in /usr/pkgsrc.

To find all work directories, issue this command:
find /usr/pkgsrc/ -name "work" -print
To clean them all, issue this one:
find /usr/pkgsrc/ -name "work" -exec rm -rf {} \;
As a side effect, after each deletion, this command will print message like this:
"find: /usr/pkgsrc/emulators/uae/work: No such file or directory"
indicating that temp directory port has been vanished successfully.
Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Which is the significance about pkgsrc-2009Q2 and pkgsrc-2009Q3? aleunix NetBSD Package System (pkgsrc) 3 16th December 2009 07:19 AM
GCC in src tree or in ports tree vigol FreeBSD Ports and Packages 2 6th December 2009 04:34 PM
In search of: NetBSD and pkgsrc maintainer for open source projects mdh NetBSD Package System (pkgsrc) 0 16th October 2008 12:42 AM
How to clean up /usr? nihonto OpenBSD General 5 22nd June 2008 09:23 AM
NetBSD 4.0 upgrade and pkgsrc fenrisW0lf NetBSD Installation and Upgrading 3 19th June 2008 09:39 PM

All times are GMT. The time now is 05:40 PM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick