[prev in list] [next in list] [prev in thread] [next in thread]
List: f-spot-list
Subject: Re: Script to Clean Up Orphans
From: Michael Lissner <mlissner () michaeljaylissner ! com>
Date: 2009-10-18 9:07:31
Message-ID: 4ADADAD3.70507 () michaeljaylissner ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
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
>
[Attachment #5 (text/html)]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
Cool. That's exactly what the latest version should be doing.<br>
<br>
Thanks for the suggestions.<br>
<pre class="moz-signature" cols="80">Michael Lissner
<a class="moz-txt-link-abbreviated" \
href="mailto:mlissner@michaeljaylissner.com">mlissner@michaeljaylissner.com</a> \
909-576-4123
</pre>
<br>
Nick Urbanik wrote on 10/18/2009 01:32 AM:
<blockquote cite="mid:20091018083203.GE16713@nicku.org" type="cite">Dear
Folks,
<br>
<br>
On 18/10/09 11:45 +1100, Nick Urbanik wrote:
<br>
<blockquote type="cite">$ ls -l /home/nicku/.config/f-spot/photos.db
<br>
</blockquote>
<br>
I left out the result:
<br>
-rw-r--r--. 1 nicku nicku 2999296 2009-10-17 19:15
/home/nicku/.config/f-spot/photos.db
<br>
<br>
Actually, if I were writing code to find photos.db, I would:
<br>
* use $XDG_CONFIG_DIR if it has a value;
<br>
* check for the existence of ~/.config/f-spot/photos.db
<br>
* check for the existence of ~/.gnome2/f-spot/photos.db
<br>
* give up
<br>
<br>
rather than what your code does, which is:
<br>
* use $XDG_CONFIG_DIR if it has a value;
<br>
* check for the existence of ~/.gnome2/f-spot/photos.db
<br>
* give up
<br>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
F-spot-list mailing list
<a class="moz-txt-link-abbreviated" \
href="mailto:F-spot-list@gnome.org">F-spot-list@gnome.org</a> <a \
class="moz-txt-link-freetext" \
href="http://mail.gnome.org/mailman/listinfo/f-spot-list">http://mail.gnome.org/mailman/listinfo/f-spot-list</a>
</pre>
</blockquote>
</body>
</html>
["mlissner.vcf" (text/x-vcard)]
_______________________________________________
F-spot-list mailing list
F-spot-list@gnome.org
http://mail.gnome.org/mailman/listinfo/f-spot-list
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic