lra / mackup

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

Add [configuration_files_to_ignore] directive in .mackup/*.cfg files #853

Open 75th opened 7 years ago

75th commented 7 years ago

I want to sync my personal ./bin directory, and I add stuff to it fairly frequently. But I also keep some symbolic links in there (e.g. to JavaScript Core, which is deep in /System/Library), and Mackup freaks out when it encounters an existing symbolic link.

Barring a way for Mackup to handle existing symlinks gracefully, it would be nice if I could just add an section to my homebin.cfg file that excludes those few files. Something like this:

[application]
name = Home binaries

[configuration_files]
.bin

[configuration_files_to_ignore]
.bin/jsc

I believe the issue with encountering existing symlinks are covered by other issues, but if someone tells me it'd be a good idea, I'll add another issue just for that.

gnowland commented 6 months ago

Resurrecting an old issue but this would be great, I'm currently having problems with One Drive because it doesn't allow files that contain Windows illegal filename characters to be stored, and I need to blacklist some application's offending log files.