Kinook Software Forum

Go Back   Kinook Software Forum > Ultra Recall > [UR] General Discussion
Register FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 01-21-2020, 05:11 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,027
Regarding search synchronization, see

https://kinook.com/UltraRecall/Manua...ronization.htm

It is one-way from UR.
Reply With Quote
  #2  
Old 01-22-2020, 09:41 AM
science2002 science2002 is online now
Registered User
 
Join Date: 01-18-2020
Posts: 5
Thanks @kinook to clarify further.

But my confidence with UR is still limited. I read the help file you suggested, even before your post. Yet I do really not understand how to proceed.

Let say that I have a FolderA in C:\Users\FolderA.
It contains two files FileB and FileC and one Sub-folderD.

My UR file is without any item, apart default templates, and a sibling blank Note-item I created.

Now it seems that I am stuck. What shall I do to perform a search synchronization? The Help file is too vague on this regard. Can you point to a tutorial or give simple basic steps?

A possible guess could be the follwing, but I doubt that can be called search synchronization, since I do not have done any "search" at all:

I set a URL attribute in my Note-Item, I created. I pointed the URL to C:\Users\FolderA. Than I performed on that Note-item the standard synchronization.

The advantage is that the items created in UR (let say a note-item as a child under FileB) do not go to FolderA in the HD. However, if one moves within UR the synchronized FileB to the Sub-folderD, there are two Item-notes now, besides of two FileB in UR (one in the old place, and one in the new place). However, while the two FileB show a small arrow to indicate that are linked to the same (Hard Disk) file, the two child UR notes-items do not show the same arrow in their icon, but in fact they are the same: changing one, changes the other.
The drawback is that by any reason one changes FileB (or whatever) from the Hard Disk moving it to Sub-folderD, all the child items created in UR and any keyword given by UR to FileB disappear at the next sync.

Thanks again

Last edited by science2002; 01-22-2020 at 10:51 AM.
Reply With Quote
  #3  
Old 01-22-2020, 10:56 AM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,027
Search sync is one way from UR to the file system. You're wanting the opposite -- from file system to UR. You would need to use folder synchronization for that, which is currently two-way.

Regarding your question about preventing a second item from getting created with folder synchronization, if you create an item in UR within a synced folder, you would need to add a URL item attribute to that item, with a value of the folder + filename of the synced file.
Reply With Quote
  #4  
Old 01-26-2020, 05:21 AM
science2002 science2002 is online now
Registered User
 
Join Date: 01-18-2020
Posts: 5
I tested the following steps and they seem to work to a certain degree, for those that want to tag and organize their files inside a folder in the Hard Disk.

a) Create a note item in UR, called for instance MyFiles.
b) Import (as a child) a folder with its files from the HD.
c) Create any other item in UR as a child (or not) of MyFiles to organize for instance in categories or fields the files imported (as link).
d) Move the (linked) files imported in UR within items of point c).
e) Any further sync to the imported folder (see point b) will update external new files into UR, without changing the links with what is done in UR with the old ones.

A question that comes at this point is the following. Is there a way to change (the path of) the URL attribute in a mass form, i.e. for many (imported) files at once?

This could be necessary for a situation similar to this. One has the files in a folder called "New ebooks" that has been imported. So in UR the URL attribute is "C:\New ebooks", for each file imported (i.e. linked). After some time (a year) one wants to change the name of his HD folder in "Old ebooks 2019". To not disrupt the sync in UR, one would need to change in a mass way all the URLs with "C:\New ebooks" into the new URL "C:\Old ebooks 2019". Can one perform this mass replacement in UR?
Thanks

Last edited by science2002; 01-26-2020 at 10:53 AM.
Reply With Quote
  #5  
Old 01-26-2020, 10:24 AM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,027
One option would be to leverage relative paths:

1) Create folder C:\UR\New ebooks\books

2) Create .urd file at C:\UR\New ebooks

3) When importing the folder C:\UR\New ebooks\books, the URLs of folders/files imported from there will be stored relative (i.e., books\path\to\file.ext)

4) If New ebooks is renamed to Old ebooks 2019, the links will still be valid, or if the .urd file is moved to another path C:\UR\old ebooks 2019, which has a subfolder 'books', the relative paths will still match up with files in the relative subfolder.

https://kinook.com/UltraRecall/Manua...ronization.htm

The other option would be to use SQLite tools to mass update attribute values. See https://kinook.com/Forum/showthread.php?t=2825
Reply With Quote
  #6  
Old 01-27-2020, 05:16 AM
science2002 science2002 is online now
Registered User
 
Join Date: 01-18-2020
Posts: 5
Thanks @kinnok. I thought myself of your first solution (relative paths).
The fact in my case is that I usually have a folder structure like this

C:\UR\New ebooks\ (1)
C:\UR\Old ebooks 2019\ (2)
etc.

Then as time goes by the folder "New ebooks" becomes (2), i.e. "Old ebooks YYYY", etc.
I would like to have UR that keeps track of both (1) and (2), so its database is placed in folder UR. In this way, it exploits relative paths (no need to know the letter of the HDD), but I would still need to change the URL folder name from (1) to (2) when time comes.

I will look into your second method then. Thanks again.
Reply With Quote
  #7  
Old 07-27-2020, 11:53 AM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,027
Ability to perform one-way sync is implemented in v6.1. See https://www.kinook.com/Forum/showthread.php?t=5097 for details (SyncDirection).
Reply With Quote
Reply

Tags
import , keywords , sync


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -5. The time now is 03:48 PM.


Copyright © 1999-2023 Kinook Software, Inc.