![]() # If using rsync, make sure you use -avzAX # If using cp, make sure you use -a to preserve permissions and xattrs Source "$HOME/.keychain/$HOSTNAME-sh-gpg" 2>/dev/null Source "$HOME/.keychain/$HOSTNAME-sh" 2>/dev/null # Import environment variables SSH_AUTH_SOCK, etc. The following helper script should get you started: #!/bin/bash In order to restore security contexts, you can simply use chcon -R -reference=source_dir/ target_dir/, where source_dir contains the Git-restore-metadata and add them to your PATH. Rename the scripts to git-store-metadata and However, etckeeper has some helper scripts which store and Use git annex unlock since direct mode is deprecatedĪs far as I’m aware, git-annex doesn’t track permissions or xattrs (importantįor SELinux). If you make frequent changes to files you should
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |