Firefox Bookmarks...
Posted: Thu Mar 27, 2025 10:53 pm
I'm trying to create a set of masks I can distribute throughout my organization. For the most part, I don't want to backup ~/Library as it's never worth it to restore much from there, so I'm using '/Library' in the exclusion mask while defining /Users/[userfolder] as the right side of the backup equation.
However, I would like to back up web browser bookmarks.
Safari and Chrome keep them in a single file in a consistent location, so I can set up File Masks to grab them without too much trouble. This works quite well as the file inclusion mask overrides the exclusion mask and gets just those files.
But Firefox bookmarks are nested in a profile folder that includes random text and keeps iterations of them with date and time based filenames. I can't get this to work with file masks, as the file mask syntax doesn't seem to respect wild cards.
I have also tried to use the "Specify Folder Masks..." option and that seems not to work properly at all. When I added 'bookmarkbackups' as a folder mask, using the "Scan the whole directory tree for matching folders" and "Include all subfolders of matching folders in the synchronization" options,
the '/Library' exclusion superseded the folder inclusion mask, ~/Library was not searched.
Even worse, the rest of the user's directory was searched and anything not matching 'bookmarkbackups' was ignored, i.e everything else in the folder.
This seems like it is not the correct behavior.
Any advice?
However, I would like to back up web browser bookmarks.
Safari and Chrome keep them in a single file in a consistent location, so I can set up File Masks to grab them without too much trouble. This works quite well as the file inclusion mask overrides the exclusion mask and gets just those files.
But Firefox bookmarks are nested in a profile folder that includes random text and keeps iterations of them with date and time based filenames. I can't get this to work with file masks, as the file mask syntax doesn't seem to respect wild cards.
I have also tried to use the "Specify Folder Masks..." option and that seems not to work properly at all. When I added 'bookmarkbackups' as a folder mask, using the "Scan the whole directory tree for matching folders" and "Include all subfolders of matching folders in the synchronization" options,
the '/Library' exclusion superseded the folder inclusion mask, ~/Library was not searched.
Even worse, the rest of the user's directory was searched and anything not matching 'bookmarkbackups' was ignored, i.e everything else in the folder.
This seems like it is not the correct behavior.
Any advice?