I want to start taking snapshots of my home directory using the cp command with hardlinks. However I don't want to include EVERYTHING. For example
Code:
$ cp -al ~/.mozilla/ backupdir/
$ rm -fr backupdir/.mozilla/myprofile/Cache
I don't want to be snapshotting the cache because I think this could make them become very inefficient.
Does anyone have a better idea of how to do this without a cp and then rm?