Diff for /wikisrc/pkgsrc/how_to_clean_all_pkgsrc_work_directories.mdwn between versions 1.2 and 1.3

version 1.2, 2011/12/14 02:26:43 version 1.3, 2011/12/14 02:31:12
Line 8  If you want to clean the directories of  Line 8  If you want to clean the directories of 
   
 Either way, sometimes it is not possible or wanted to clean the working directories. You can clean them all using this one line shell command:  Either way, sometimes it is not possible or wanted to clean the working directories. You can clean them all using this one line shell command:
   
     # find /usr/pkgsrc -name work -exec rm -r {} \;      # find /usr/pkgsrc -name work -exec rm -r {} +
   
 or this one (it is a bit longer but works much faster in most cases):  or this one:
   
     # find /usr/pkgsrc -maxdepth 3 -mindepth 3 -name work -print0 | xargs -0 rm -r      # find /usr/pkgsrc -maxdepth 3 -mindepth 3 -name work -exec rm -r {} +
   
 You can also change the place where the work directories are created by setting WORKOBJDIR in /etc/mk.conf.  You can also change the place where the work directories are created by setting WORKOBJDIR in /etc/mk.conf.
   
Line 21  You can clean them using make clean in t Line 21  You can clean them using make clean in t
   
 * [[pkgsrc/How to use pkgsrc]]  * [[pkgsrc/How to use pkgsrc]]
 * [[basics/rm]]  * [[basics/rm]]
 * [[bascis/find]]  * [[basics/find]]

Removed from v.1.2  
changed lines
  Added in v.1.3


CVSweb for NetBSD wikisrc <wikimaster@NetBSD.org> software: FreeBSD-CVSweb