Nautilus can tell us when a file is being renamed or moved from whithin
nautilus.

On Sun, Nov 7, 2010 at 7:27 PM, S. Sickert <s.sick...@gmail.com> wrote:

> Reading through all the comments - it seems to me that there are two
> problems to tackle:
>
> 1) Determine which files are interesting for the user - this can be done
> with the Taskview API
>
> 2) Keep track of these files - this must be done with inotify, as there
> are many programs which don't notify anybody about file changes. (e.g
> mv, batch-renamer, ...). There is still the problem of "offline" (we are
> not running) changes, but I don't see any solution except scanning the
> whole filesystems, which is also very suboptimal.
>

We can keep track of files as long as applications tell us if they are
moving them around. Currently only nautilus and commandline can undertake
such activities. But how many normal users use commandline.
There is NO WAY we will use inotify so the best solution right now is to get
the info:
1) moving and copying over nautilus -> taskview -> zeitgeist
2) renaming shoul be done over nautilus -> zeitgeist

>
> Of course there is a bit redundancy between 1 and 2 (e.g. move already
> known files with nautilus) and must be filtered out.
>
> --
> Monitoring Create/Move/Copy Files events
> https://bugs.launchpad.net/bugs/602211
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in Zeitgeist Framework: Confirmed
> Status in Zeitgeist Datahub: Incomplete
>
> Bug description:
> An issue we are facing at the moment is that ppl lose track of there files
> in a timeline if the file was moved around or renamed. I would propose using
> taskview or patch nautilus to actually grab those events and either:
> 1) Modify the uris in the uris table
> 2) Create a new table with    | new_id | old_uri_id | event | to map uris
> to their actual ids and the event that allowed the change, this would allow
> us to track a history of renaming or moving a file. It will look a bit like
> the following:
>
> 9 | 9 | 48124  # CREATE EVENT
> 12 | 9 | 48126 # MOVE EVENT
>
> In other words the last row means uri 12 was moved from uri 9 with event
> 48126
>
>
>
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/zeitgeist/+bug/602211/+subscribe
>


-- 
This is me doing some advertisement for my blog http://seilo.geekyogre.com

-- 
Monitoring Create/Move/Copy Files events
https://bugs.launchpad.net/bugs/602211
You received this bug notification because you are a member of Zeitgeist
Framework Team, which is subscribed to Zeitgeist Framework.

Status in Zeitgeist Framework: Confirmed
Status in Zeitgeist Datahub: Incomplete

Bug description:
An issue we are facing at the moment is that ppl lose track of there files in a 
timeline if the file was moved around or renamed. I would propose using 
taskview or patch nautilus to actually grab those events and either:
1) Modify the uris in the uris table
2) Create a new table with    | new_id | old_uri_id | event | to map uris to 
their actual ids and the event that allowed the change, this would allow us to 
track a history of renaming or moving a file. It will look a bit like the 
following:

9 | 9 | 48124  # CREATE EVENT
12 | 9 | 48126 # MOVE EVENT

In other words the last row means uri 12 was moved from uri 9 with event 48126






_______________________________________________
Mailing list: https://launchpad.net/~zeitgeist
Post to     : zeitgeist@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zeitgeist
More help   : https://help.launchpad.net/ListHelp

Reply via email to