I just figured out using command shift R to make new added files showed in EF, but for the action delete outside EF, checked the manual, did not find the answer
If you delete files from outside EagleFiler, the next time you open the library or use the Verify command, EagleFiler, will report the files as missing in the Errors window, and you can Select All and press the Trash button to tell EagleFiler to forget about them.
Yes, I tried it before posting this, but it’s inconvenient.
Is there any way I could make this process automatically, not like most in this forum, I prefer the EF file system behave like finder.
While using the feature ‘update indexed items’ in DEVONhink, it deletes the invalid file in automatically.
There’s no built-in way to do that at present, but you could use a script like this to move any missing records to the trash:
tell application "EagleFiler"
tell library document 1
set _records to library records
repeat with _record in _records
if _record's missing then
set _record's container to trash
end if
end repeat
end tell
end tell
The next time you open the library EagleFiler will automatically ask if you want to forget them.