Favicon

directory cleanup, how?

Hi,

I have been using f-spot for some time and gradually understood how it
works etc. Now I have a problem that I have not perfect control over
where my photo-files resides, and in general need to clean this up. I
have problems understanding how I could do this, without risking to
lose files etc.

What I have done.

I have imported almost all my files directly from my camera which I
connected with a USB cable. They were imported/copied into a folder
called "Foto" in my home folder. However, "Foto" is just a symbolic
link to a folder on a removarble USB drive.

So most pictures were imported here:

/home/andka/Foto/

which is just a symbolic link to here:

/media/≤diskname>/Foto

This is clever since it should be easy to move the Foto directory
somwhere else, to another USB-disk, or an internal, and just redirect
the symbolic link. And that is exactly what I need to do.

However, it seems that I managed to import some files to the "real"
directory on the USB drive,i.e. they have the file path
/media/≤diskname>/Foto/.../<filename> in the f-spot db. So these will
(Continue reading)

Ulf Rompe | 12 Nov 17:34
Favicon

Re: directory cleanup, how?

Am Mittwoch, den 12.11.2008, 14:25 +1100 schrieb Andreas Kågedal:
> Is there a way to find all files with a specific filepath.

You can use the fulltext search for that. In the F-Spot main window,
press "/" to enter the search, and start typing the path in question.

> Is it possible to move files while keeping them in the f-spot db? (or
> will I have to export them, delete them from f-spot and re-imort them
> in the right place)?

The ChangePath extension might be of interest for you.

> I seem to remember reading somewhere about someone using scripts to
> scan for pictures on the HD but not in f-spot, and the other way
> around etc. But now I am not able to find this again.

I think you mean the Find Orphan Photos extension. It is not in the
repository yet, but you can find it here:
http://bugzilla.gnome.org/show_bug.cgi?id=353058

[x] ulf
--

-- 
This message represents the official view of the voices in my head.
Favicon

Re: directory cleanup, how?

Thanks for your answer! comments below.

On 11/12/08, Ulf Rompe <Ulf.Rompe <at> icem.com> wrote:
> Am Mittwoch, den 12.11.2008, 14:25 +1100 schrieb Andreas Kågedal:
>
> > Is there a way to find all files with a specific filepath.
>
> You can use the fulltext search for that. In the F-Spot main window,
>  press "/" to enter the search, and start typing the path in question.

Ah! I had completely missed the "fulltext search" feature. It is not
in any of the menus, in particular, it is not in the "Find" menu . But
this might have been fixed in a later version, I'm using f-spot
0.4.3.1 which is in Ubuntu 8.4.

It should be useful. But, for my particular problem it would have been
even better to find all paths which *don't* match the one where they
are supposed to be. But that might be to ask too much.  the fulltext
search will go a long way.

>  > Is it possible to move files while keeping them in the f-spot db? (or
>  > will I have to export them, delete them from f-spot and re-imort them
>  > in the right place)?
>
> The ChangePath extension might be of interest for you.

Ah, yes! That should be it! From the description it is not clear
whether it can change just a subset of the paths or if it will always
change the paths of all pictures in the db, but I assume it is clever
enough. Unfortunatelly, it does not appear in my list of extensions in
(Continue reading)

Ulf Rompe | 13 Nov 13:50
Favicon

Re: directory cleanup, how?

Am Donnerstag, den 13.11.2008, 22:02 +1100 schrieb Andreas Kågedal:

> > You can use the fulltext search for that. In the F-Spot main window,
> >  press "/" to enter the search, and start typing the path in question.
> 
> Ah! I had completely missed the "fulltext search" feature. It is not
> in any of the menus, in particular, it is not in the "Find" menu . But
> this might have been fixed in a later version, I'm using f-spot
> 0.4.3.1 which is in Ubuntu 8.4.

The obviousness if this function is still unchanged. It's just a matter
of the user's background. Experienced vi users will discover and use
this function within a minute without even thinking about it. :-)

> > The ChangePath extension might be of interest for you.
> 
> Ah, yes! That should be it! From the description it is not clear
> whether it can change just a subset of the paths or if it will always
> change the paths of all pictures in the db, but I assume it is clever
> enough. Unfortunatelly, it does not appear in my list of extensions in
> f-spot. I guess I will have to upgrade to a more recent f-spot? Or am
> I missing something here?

If it doesn't show up in your extension list (you DID update the list,
did you?) I think updating would the easiest way to get the extension as
well as many other good things. BTW Intrepid has 0.5.0.3.

> > I think you mean the Find Orphan Photos extension. It is not in the
> >  repository yet, but you can find it here:
> >  http://bugzilla.gnome.org/show_bug.cgi?id=353058
(Continue reading)

Favicon

Re: directory cleanup, how?

Great! I will just have to do the upgrade to 8.10 then. I will send
you a message when I have completed that. i have some clean up to do
in other parts of the system before that :-)

Thanks for your help!

/Andreas

On Thu, Nov 13, 2008 at 11:50 PM, Ulf Rompe <Ulf.Rompe <at> icem.com> wrote:
> Am Donnerstag, den 13.11.2008, 22:02 +1100 schrieb Andreas Kågedal:
>
>> > You can use the fulltext search for that. In the F-Spot main window,
>> >  press "/" to enter the search, and start typing the path in question.
>>
>> Ah! I had completely missed the "fulltext search" feature. It is not
>> in any of the menus, in particular, it is not in the "Find" menu . But
>> this might have been fixed in a later version, I'm using f-spot
>> 0.4.3.1 which is in Ubuntu 8.4.
>
> The obviousness if this function is still unchanged. It's just a matter
> of the user's background. Experienced vi users will discover and use
> this function within a minute without even thinking about it. :-)
>
>> > The ChangePath extension might be of interest for you.
>>
>> Ah, yes! That should be it! From the description it is not clear
>> whether it can change just a subset of the paths or if it will always
>> change the paths of all pictures in the db, but I assume it is clever
>> enough. Unfortunatelly, it does not appear in my list of extensions in
>> f-spot. I guess I will have to upgrade to a more recent f-spot? Or am
(Continue reading)


Gmane