#StackBounty: #rsync #cygwin rsync exclude AppData but include Firefox bookmarks?

Bounty: 50

I want to backup my Windows home directory using cygwin and rsync:

rsync.exe -vrptlH --delete --exclude=AppData "/cygdrive/C/Users/user1/" "/cygdrive/D/backup/"

As you can see I excluded the AppData directory.

Is it possible to include my Firefox bookmarks in the following path?

AppData/Roaming/Mozilla/Firefox/Profile/*/places.sqlite

The asterisk stands for a the profile name. It’s not known because Firefox generates random names there.

Maybe it’s possible using an exclude script with –exclude-from?

I know it’s possible to copy the places.sqlite to another folder using power shell and then backup this folder.

But maybe it’s possible directly with rsync.


Get this bounty!!!

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.