lra / mackup

Keep your application settings in sync (OS X/Linux)
GNU General Public License v3.0
14.53k stars 931 forks source link

Some of the original files remain under homedir after mackup backup #1103

Open itamaro opened 6 years ago

itamaro commented 6 years ago

After running mackup backup, I've noticed that some of the original files still exist (as opposed to symlinked) in the original locations:

>mackup backup --dry-run
Backing up Library/Preferences/com.surteesstudios.Bartender.plist ...
Backing up .docker/config.json ...
Backing up Library/Preferences/org.herf.Flux.plist ...
Backing up Library/Preferences/org.pqrs.Karabiner.plist ...
Backing up Library/Preferences/com.irradiatedsoftware.SizeUp.plist ...
Backing up Library/Application Support/SourceTree/browser.plist ...
Backing up Library/Application Support/SourceTree/hgrc_sourcetree ...
Backing up Library/Preferences/com.smileonmymac.textexpander.plist ...
timkelty commented 5 years ago

@itamaro I believe these apps actually write temporary preference files, delete the existing, and then write a new one, therefore the symlink is lost.

Not sure theres a great way around it... @lra?

lra commented 5 years ago

Yeah, if some apps don't play overwrite the symlink with new files, there is no way around it, the support for such app should be removed until the behavior is fixed upstream.