Re: Script to Clean Up Orphans
- From: Michael Lissner <mlissner michaeljaylissner com>
- To: Nick Urbanik <nicku nicku org>
- Cc: f-spot-list gnome org
- Subject: Re: Script to Clean Up Orphans
- Date: Sun, 18 Oct 2009 02:07:31 -0700
Cool. That's exactly what the latest version should be doing.
Thanks for the suggestions.
Michael Lissner
mlissner michaeljaylissner com
909-576-4123
Nick Urbanik wrote on 10/18/2009 01:32 AM:
Dear
Folks,
On 18/10/09 11:45 +1100, Nick Urbanik wrote:
$ ls -l /home/nicku/.config/f-spot/photos.db
I left out the result:
-rw-r--r--. 1 nicku nicku 2999296 2009-10-17 19:15
/home/nicku/.config/f-spot/photos.db
Actually, if I were writing code to find photos.db, I would:
* use $XDG_CONFIG_DIR if it has a value;
* check for the existence of ~/.config/f-spot/photos.db
* check for the existence of ~/.gnome2/f-spot/photos.db
* give up
rather than what your code does, which is:
* use $XDG_CONFIG_DIR if it has a value;
* check for the existence of ~/.gnome2/f-spot/photos.db
* give up
_______________________________________________
F-spot-list mailing list
F-spot-list gnome org
http://mail.gnome.org/mailman/listinfo/f-spot-list
|
begin:vcard
fn:Michael Lissner
n:Lissner;Michael
email;internet:mlissner michaeljaylissner com
tel;cell:909-576-4123
x-mozilla-html:TRUE
version:2.1
end:vcard
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]