Possible to have watched folders?

Well Bluefrog, in that case IMHO you’ve worked on the best 2 apps of this type out there. I will read the stuff on indexing again, but in practice I’ve not seen the same behaviour as in a “watched” folder. For example, if I move a document into a folder or one of the subfolders that I have already indexed in Devonthink, the added document does not automatically appear in Devonthink. I have to update indexed items, as mentioned above.

Correct. If you have a group selected, its state is set from when you selected it.
If you deselect / reselect it, use File > Update Indexed Items, Option-Command-S, or add the Update button to your Toolbar, it will query and set the new state.

Again, you may think this is a bad idea, but what if you (accidentally or purposefully) added a large number of files to the indexed group? What if you thought, “Oh no!!” and moved them back out again? Should DEVONthink be trying to keep up and react to these filesystem changes behind the scenes? Would you be willing to accept a performance hit (think beachballs in worst case scenarios) for it to keep such an intimate connection with the filesystem? (And you can’t say, “Well, I would never do such a thing as adding files like that!” because I have support stories of people dumping terabytes of data in and complaining things aren’t working and the app crashed / is slow! We have to account for these possibilities.)

PS: I started on the beta of Yep and loved it. Then I worked with Leap and loved it. Then Yep turned into a Leap clone and there was little to differentiate the two. Yep 1 was great. I have always preferred Leap after that. :smiley:

I have not dumped terabytes of data in this way but I have dumped three or four files and regretted it, this is one of the reasons I prefer to import into DEVONthink rather than index but I certainly would not like to see the present behaviour change as it is as to to fail safe as you are likely to get.

Personally I would be willing to take the responsibility of having watched folders, but I accept that I may not be in the majority here.

Bluefrog - are you suggesting that if I drop a document into a previously indexed folder on Finder, then in Devonthink go to a new group/database and then back to the previous group/database, that the new file will then appear?

I am sure Bulefrog means what he says, i.e. “use File > Update Indexed Items, Option-Command-S, or add the Update button to your Toolbar, it will query and set the new state.” You need to update indexed items.

OK gotcha, I thought that deselecting/reselecting was one of the ways to update the info.

Yes! A point that has now been made four times in this circular thread. :laughing: :laughing: :laughing: :laughing:

It is-have you tried it yourself?

Bluefrog suggested four ways to update the contents of a selected indexed group:

  1. You deselect / reselect it (the indexed group)
  2. Use File > Update Indexed Items
  3. Option-Command-S
  4. Add the Update button to your Toolbar, it will query and set the new state.

Additionally, I don’t know if you have browsed in the Tips, Tricks, and Troubleshooting section here (this particular forum is more appropriate for reporting feedback and feature requests), but I have a post pinned to that forum that discusses some useful information when working with documents outside of DEVONthink. You can fine it here. Note that the discussion took place before DEVONthink to Go version 2, so I expect you could pretty much disregard any discussion of that app in the thread.

I just tried it, and I can confirm that it doesn’t work.

To be clear, what I did was:

  1. Obtain a new .PDF file
  2. Moved the new .PDF file into one of the subfolders within the main indexed folder (e.g. ~/my documents/2007/May)
  3. In Devonthink, changed to a different smartgroup
  4. In Devonthink, went back to the “all documents” smartgroup - and the new document isn’t there

Have you selected this group after adding files?

An indexed group is not a Smart Group. If you are thinking selecting a Smart Group will update the files, it won’t. A Smart Group doesn’t contain anything. It only exposes files that match a certain set of criteria. You have to update the actual indexed group.

This is not a group in Devonthink. This is a folder/pathway on my hard drive which I can access through finder.

Again, if you are thinking selecting a Smart Group will update the files, it won’t.

If you are indexing a folder into DEVONthink, adding a PDF to that folder in the Finder will not automatically be added without your intervention - in the aforementioned ways.

If you are not indexing a folder into DEVONthink and just adding files to a folder in the Finder, I’m not sure why you’d expect anything at all to be added to the database.

Yes, this much is obvious IMHO and not what we are discussing.

Yes, agreed - but I think it was the aforementioned way of selecting and deselecting a group that we were discussing, as this method doesn’t see to work for me.

Your earlier comment has however suggested a possible source of the problem. When you add a file via finder, it has obviously not been grouped in Devonthink yet - so there is no group in Devonthink which you can update to show the file!

Hope this makes sense :slight_smile:

Bluefrog, would you mind commenting on this? I’m worried that I am misunderstanding something.

On this…?

New database.

  1. File > Index… and choose a folder in the Finder. The files will appear in the group in DEVONthink, all (including the parent group) will have a curved arrow denoting the indexed status.
  2. Add a file in the Finder.
  3. Select the indexed group in the database. The file appears.
  4. Remove a file in the Finder.
  5. Select the indexed group in the database. The file disappears.
  6. Add a file to the indexed group in DEVONthink. The file will not appear in the Finder folder unless you right-click the file or group in the database and choose Move to External Folder.

If you index a single file, it will work fine too.

Outside of this, adding files to some location in the Finder that is not indexed will obviously have no effect on the database.

I’m not sure what you mean by this. Folders in finder are indexed. The files come into the inbox, and I create groups and move them to these groups. So when I add a file in one of the folders in finder that have been indexed, there is no particular group to update as I created all the groups myself after importing the files.

I think you are misunderstanding indexing. Reread my reply in this thread: Compatible file types

Just an observation from a relatively new user: the way indexing works, you benefit greatly from indexing the folder, rather than your approach of indexing a file and then moving it to a group.

If you index the folder, you get the benefit of automatic updating, so the DT index remains current as the folder contents change (files are created, deleted, edit etc).

If you want to be able to access the files via a different structure in DT, I would suggest you look at using replicants in your personal managed groups. That way you can have DT maintain an accurate index but access the files via whatever DT structure works for you.

If you go that route, you may be able to explore scripting and auto-classifying to automate the process of creating the replicants where you want them as you update the indices.

Cannot emphasize enough how good this advice is.

Indexing many individual files is bound to create significant confusion. I almost always index entire folders only.

Any new files that come in, I add to DTPO then “Move to external folder” once I use DTPO to sort it to the appropriate group.

I also replicate and tag indexed files with abandon. Replicants can cause some grief if you “Move into database” then “Move to external folder” because it’s destination in the Finder seems to be a bit unpredictable, but this isn’t something I do very often.

(If I want to do a really big, DTPO-assisted sorting, what I’ll do is move EVERYTHING into the database, do all my sorting and re-grouping, then move the entire batch back to external folder, but this really only n needs to happen once in a blue moon, when I need to seriously re-configure my taxonomy in such a way that I need to do a complete rebuild, which is usually less than once a year).