Re: removing unused dirs



On Tue, 2004-12-21 at 11:38 -0600, Jonathan Koren wrote:
> I'm creating an RSS feed applet, and I need to store some configuration 
> information on a per feed basis.  Naturally I decided to store some of 
> this information in seperate gconf directories.
> 
> Creating a directory for a newly added feed is straight forward, but how 
> do I remove a directory for a newly removed feed?  I don't really want to 
> leave files and directories that will most likely never be used again 
> lying all over the disk.
> 
> Examining my own ~/.gconf and finding artifacts to various uninstalled 
> applications and long removed applets implies there really isn't a way to 
> do this.  Is this the case, and if so will gconf ever support key and 
> directory removal?

	If you just unset all keys in a directory, the directory should
dissappear. Look at how gconftool-2 --recursive-unset does it, for
example.

Cheers,
Mark.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]