lra / mackup

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

Considering multiple application versions with regex in paths #1801

Open scrapix opened 2 years ago

scrapix commented 2 years ago

For Illustrator we have for every Illustrator version a new Preferences folder with version number. Do we have a possiblity of defining a generic string maybe with the use of regex or similar? Otherwise we need to add Lots of paths, each time a new Illustrator version is being released.

Library/Preferences/Adobe Illustrator \d{2} Settings

mackup/applications/illustrator.cfg

Library/Preferences/Adobe Illustrator 17 Settings Library/Preferences/Adobe Illustrator 18 Settings Library/Preferences/Adobe Illustrator 19 Settings Library/Preferences/Adobe Illustrator 20 Settings Library/Preferences/Adobe Illustrator 23 Settings/en_US/Adobe Illustrator Prefs Library/Preferences/Adobe Illustrator 23 Settings/en_US/Last Used Artboard Export Settings Library/Preferences/Adobe Illustrator 23 Settings/en_US/Last Used Asset Export Settings Library/Preferences/Adobe Illustrator 23 Settings/en_US/Modified Workspaces

jneuendorf commented 2 years ago

1807 tries to solve the same problem using glob instead of regex patterns.