Hi!
I sometimes need to change files on a windows share w/o changing any file dates [big sigh] My .py script can update up to 150 files per second and sometimes Everything won't notice all changes (It perfectly works if the dates get changed).
Does the Everything SDK offer to update the db record for a certain file or folder?
Thanks for reading, Laus
Force update DB
Re: Force update DB
Don't know if the SDK supports this, but there is an easier way.
Suppose you want to force an update of all entries in "X:\some folder\here" (including subfolders):
Type the following in the Everything search bar and press ENTER:
Can't test it atm, but I think the following will rescan *just* the "X:\some folder\here" folder without subfolders:
(don't forget to press ENTER)
/reindex search command
Suppose you want to force an update of all entries in "X:\some folder\here" (including subfolders):
Type the following in the Everything search bar and press ENTER:
Code: Select all
/reindex "X:\some folder\here"
Can't test it atm, but I think the following will rescan *just* the "X:\some folder\here" folder without subfolders:
(don't forget to press ENTER)
Code: Select all
/reindex "X:\some folder\here\*"
/reindex search command
Re: Force update DB
Hi!
Thanks for the lead. However, while "\\host\share\folder" returns >642,000 items, '/reindex "\\host\share\folder"' returns 'index "\\host\share\folder" not found'. I guess I've got to do this on the host, not on the client? I'm running Everything Server on the host and use "network index" on the client. Also reindexing >500.000 items, to catch updates of several hundred items seem a big shot. The items to update are scattered all over the folder tree and I would prefer to do this with the SDK, I'm using it in the script already to find the files I need to update.
Thanks for reading, Laus
Thanks for the lead. However, while "\\host\share\folder" returns >642,000 items, '/reindex "\\host\share\folder"' returns 'index "\\host\share\folder" not found'. I guess I've got to do this on the host, not on the client? I'm running Everything Server on the host and use "network index" on the client. Also reindexing >500.000 items, to catch updates of several hundred items seem a big shot. The items to update are scattered all over the folder tree and I would prefer to do this with the SDK, I'm using it in the script already to find the files I need to update.
Thanks for reading, Laus