Both OneDrive and Dropbox make use of the 'Offline' attribute (FILE_ATTRIBUTE_OFFLINE) in their partial-sync systems. Some programs like `dir` recognize this attribute and e.g. show the file size in parens.
Currently this attribute is entirely invisible through Total Commander -- it's not in the "Attributes" column, and it cannot be used in file search (e.g. I cannot define a custom color rule for it like I already can with "hidden" or "compressed" files). With Dropbox the offline files are recognizable if I enable icon overlays, but that doesn't work in other cases.
Could searching by this attribute, and/or showing this attribute in the file list (next to 'rahs') be added to a future version?
Image: https://nullroute.eu.org/tmp/cap/2019-06-14.193239.blizzard.png
Make the 'Offline' attribute visible on files
Moderators: white, Hacker, petermad, Stefan2
Make the 'Offline' attribute visible on files
Last edited by grawity on 2019-06-14, 16:58 UTC, edited 1 time in total.
Re: Make the 'Offline' attribute visible on files
You can search for such files via the Plugins tab:
Regards
Dalai
Code: Select all
tc | offline | = | Yes
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Re: Make the 'Offline' attribute visible on files
Ah, is that built in? Good to know.
Re: Make the 'Offline' attribute visible on files
Hmm, it works for Dropbox stubs (which have +AO according to `attrib` in cmd), but oddly not for OneDrive stubs (which have +AOU but tc.offline=yes does not find them).
Maybe TotalCmd's existing "old-style" OneDrive support from 2017 is interfering with it?
Maybe TotalCmd's existing "old-style" OneDrive support from 2017 is interfering with it?