DragonFly users List (threaded) for 2011-12
Re: work directories
On Saturday 03 December 2011 21:03:53 Jeremy C. Reed wrote:
> On Sat, 3 Dec 2011, Pierre Abbat wrote:
> > I have 8.9 GB in /usr/pkgsrc/*/*/work/. What's the proper way to get
> > rid of old files in these directories?
> I often use rm. I normally use: make clean clean-depends (but it is
> Also have a look at pkgsrc/pkgtools/pkgclean
That works, but I'd like something I can run periodically, and I don't want to
remove a work directory in the middle of a build. My /etc/periodic.conf is
daily_clean_tmps_enable="YES" # Delete stuff daily
daily_clean_tmps_dirs="/tmp /var/db/pkgin/cache /usr/pkgsrc/distfiles" #
Delete under here
daily_clean_tmps_days="30" # If not accessed for
daily_clean_tmps_ignore=".X*-lock .X11-unix .ICE-unix .font-unix .XIM-unix"
# Don't delete these
daily_clean_tmps_verbose="YES" # Mention files
If I added "/usr/pkgsrc/*/*/work" to daily_clean_tmps_dirs, would that work?
I believe in Yellow when I'm in Sweden and in Black when I'm in Wales.