backup-conf.sh
clean code
This commit is contained in:
@@ -45,6 +45,7 @@ notification() {
|
||||
if [[ "$OSTYPE" == "darwin"* ]] && [ -x "$(command -v terminal-notifier)" ]; then
|
||||
terminal-notifier -title "$1" -message "$message" -sound "$sound" -contentImage "$image"
|
||||
fi
|
||||
|
||||
}
|
||||
|
||||
copy() {
|
||||
@@ -97,6 +98,15 @@ copy $HOME/.zsh_plugins.sh "$dest_shell"
|
||||
copy $HOME/.zsh_plugins.txt "$dest_shell"
|
||||
copy $HOME/.zshrc "$dest_shell"
|
||||
|
||||
#
|
||||
#echo '----------'
|
||||
#while read
|
||||
#do
|
||||
#echo "${REPLY}"
|
||||
#done < $HOME/.backup_list.conf
|
||||
#echo '----------'
|
||||
#
|
||||
|
||||
# Autres
|
||||
|
||||
copy $HOME/.backup_list.conf "$dest"
|
||||
@@ -116,7 +126,7 @@ copy $HOME/.vnc "$dest" #folder
|
||||
|
||||
copy /private/etc/hosts "$dest"
|
||||
|
||||
copy "$HOME/Library/Application\ Support/Transmit" "$dest" #folder
|
||||
copy $HOME/Library/Application\ Support/Transmit "$dest" #folder
|
||||
copy $HOME/Library/LaunchAgents "$dest" #folder
|
||||
copy $HOME/Documents/Scripts/kymsu2/plugins.d/Brewfile "$dest"
|
||||
copy $HOME/Documents/Scripts/kymsu2/plugins.d/Installed_SilverBook*.md "$dest"
|
||||
|
||||
Reference in New Issue
Block a user