Why does DropBox occasionally add *com.dropbox.attributes files?

6

0

I've been a user of Dropbox for a few years now. Just recently I noticed that files with the extension com.dropbox.attributes started to appear in some dropbox sub-folders.

Steps

  1. I create a new directory in dropbox with the intention of adding some image files.
  2. I add the image files to the new directory
  3. The files begin to sync and then new files start to appear with the same names of the files I'm syncing but appended with the extension com.dropbox.attributes. Each of these additional files is ~160 bytes.
  4. These com.dropbox.attributes files are also visible in the DropBox.com web client. And they sync to other machines with the same dropbox account.

Example: I'll add: IMG_1195.JPG a 1.6MB file. And then the following will appear seconds later: IMG_1195.JPG/com.dropbox.attributes at 160 bytes. And the contents of this new file is a bunch of hexadecimal values.

Why is this? How do I make it stop?!

It's very noisy.

Michael R

Posted 2014-09-05T05:07:29.720

Reputation: 171

Are you, by any chance, using OS X? – Daniel B – 2014-09-05T05:30:08.380

@DanielB Yes, I am using OSX. I have a dropbox account linked on OS X Mountain Lion, OS X Lion and Windows 7. – Michael R – 2014-09-05T05:55:24.337

Answers

2

Well, for completeness’ sake, here’s the official take on this:

These files are from a filesystem incompatibility somewhere on one of your linked devices (or on one of the linked devices belonging to one of the members of one of your shared folders). Some filesystems like HFS (OS X) and NTFS (Windows) are capable of assigning "extended attributes" (xattrs) to files and folders (for things like the tags you can apply in Mavericks/Yosemite).

The issue arises when files with these extended attributes are copied to a filesystem that doesn't support them (such as FAT or FAT32, which are often found on old hard drives, USB sticks, and some other external drives). These filesystems can't store extended attributes, so Dropbox puts those extended attributes into new ':com.dropbox.attributes' files, so as not to lose any data.

To test if these files are still being created, could you create a test file on a Mac, then add a tag to the file (see e.g. http://support.apple.com/kb/HT5839)? If you see another "com.dropbox.attributes" appear for this file, go to the Dropbox website, right-click on it, and choose 'View previous versions' to see which user is creating these files, and on which device.

If you do not see a new "com.dropbox.attributes" file appear for this test file, it could be the case that these files were created during a single event, such as when files were moved from a drive that doesn't support xattrs, so you can just delete them.

tl;dr: You can most likely remove them entirely without causing any problems.

Daniel B

Posted 2014-09-05T05:07:29.720

Reputation: 40 502

0

Did you use symlinks in Windows to map the Dropbox folder to your OS X drive? I believe the HFS+ driver for Windows (you maybe use Paragon) treats these HFS+ file attributes as regular files and makes the Windows client sync them to web.

Szak1

Posted 2014-09-05T05:07:29.720

Reputation: 1

-1

If you are using OS X, and you are having trouble deleting the files, this question is probably solved here: Cannot delete attribute file in mac os X

If that's not the case, and you're interested in automatically deleting them as created, you might try this free tool: http://www.zeroonetwenty.com/blueharvestlite/ - there's a commercial version as well, but it's not much different. I do not know for sure that it would work on your .attributes files - but it might. It's a tool to remove the various extended attributes files that OS X creates automatically as they're created.

jeffreylees

Posted 2014-09-05T05:07:29.720

Reputation: 101

Whilst this may theoretically answer the question, it would be preferable to include the essential parts of the answer here, and provide the link for reference.

– Cfinley – 2014-09-12T14:02:25.820

I'm not so much interested in deleting them, than preventing these com.dropbox.attributes files from appearing. – Michael R – 2014-09-27T05:14:04.033