GNOME Bugzilla – Bug 764739
Don't try to open Microsoft Office temporary files
Last modified: 2016-05-15 08:16:41 UTC
Microsoft Office is creating files named like ~$cument.docx. Tracker-extractor doesn't need to index them and thus doesn't need to warn about being unable to work with them.
Sure, sounds worthwhile to add to filters. What would be a common pattern for those temporary documents? I assume the "cument" part in your example is variable. Would "~$*.docx" work?
(In reply to Carlos Garnacho from comment #1) > Would "~$*.docx" work? Yes, that's the way they look like. Same for Word: .docx .docm .dotx .dotm Excel .xlsx .xlsm .xltx .xltm .xlam Powerpoint .pptx .pptm .potx .potm .ppam .ppsx .ppsm Visio: .vsdx .vsdm .vssx .vssm .vstx .vstm Source: https://support.office.com/en-us/article/Introduction-to-new-file-name-extensions-ECA81DCB-5626-4E5B-8362-524D13AE4EC1 and https://technet.microsoft.com/en-us/library/cc179191.aspx
Thanks for the info. Pushed a fix to master so far, a candidate for backporting though. The following fix has been pushed: eb1f3d9 tracker-miner-fs: Add MS Office "owner files" to ignored-files
Created attachment 327898 [details] [review] tracker-miner-fs: Add MS Office "owner files" to ignored-files "Owner files" (described in https://support.microsoft.com/en-us/kb/211632) works as a lock file when opening the document. Those are supposedly removed when the document is closed, but in practice there's situations where those are left behind, and are meaningless to tracker. Those files may be generated for any of the document extensions, so handle the whole bunch.
Thank you very much!