lra / mackup

Keep your application settings in sync (OS X/Linux)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Box Sync ignores files that start with a dot

katherinelim opened this issue · comments

Mackup creates the backup folder in the Box Sync local folder properly and all dot files (.bash_profile, .bashrc, .gitconfig, etc.) are copied there but they are never synced to Box, which means that after the local Box Sync folder is deleted, the dot files will not be restored from Box.

This is due to Box Sync ignoring files that start with a dot "." as hidden files.

Documented here: https://community.box.com/t5/Box-Sync/Which-File-Types-Are-Ignored-Or-Blocked-In-Box-Sync/ta-p/117

The way around this could involve copying the files to names that do not start with a dot and creating symlinks back to the original dot file names, e.g., .bashrc -> Box Sync/Mackup/bashrc.txt

Wow, that's really stupid...

OK, I guess the box engine needs to rename those files to something line .bashrc -> box_dot_bashrc_.
That could work for individual files, but if a linked folder contains dotfiles, mackup cannot help here.

Not sure if there are a lot of dotfiles in folders, but it's a possible source of bugs and confusion.

Also what about dot folders? Same behavior? Sounds like there is no easy fix on mackup side. Is there a way to ask box if they could make this an option? (ignoring dot files)

It looks messy to implement. Given that Dropbox is ok with dotfiles, am happy to close this as a dontfix and take it up with Box.

The problem is that it's a valid issue... Should we just drop Box's support?

Dropping Box support would suffice, but leave a note as to why, it's going to become a frequently asked question. 👍

Just realized this is why my preferences were always out of sync between my Macs. This issue really needs to be added to the readme. Box is listed as "Supported Storage", but in real-world usage it won't work properly.

Are there any updates that might make this work? Box is still listed as Supported Storage.

I'm on it, I'm removing Box support.

Wow, adding Box to my mental shit list of products to avoid in general. How can a file storage product be any good that ignores a huge class of important files? This is really mind-boggling.