Which file types are "ineligible" for iCloud drive? It seems that some files (or name thereof) are "ineligible" for iCloud drive. For example, if the file name ends with a tilde, it cannot be uploaded to iCloud drive. [Example of programs that produce file names with tilde are Emacs (for back files) and RCS (for revision files).]

Has Apple published any reference on what is (or is not) "eligible" in iCloud drive?
This is not an answer but here is a partial list of kind of file names that are considered ineligible for iCloud drive.

Warning: this list is purely based on trial and error on macOS 10.12.16. As of now, there does not appear to be an official documentation on this. So this behaviour may change in future.


Filenames with an extension and ending with tilde. (regex: .*\..*~)
Filenames ending with .tmp
Filenames starting with ~$
Filenames starting with .~
Directories named tmp


It seems that iCloud drive tries to identify temporary files by their names and does not upload them into the clouds.