From e9d43aba07627e543518ec1df922bfda780eff88 Mon Sep 17 00:00:00 2001 From: Bruno 21 Date: Wed, 30 Oct 2019 10:50:43 +0100 Subject: [PATCH] =?UTF-8?q?R=C3=A9ordonne=20la=20liste?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backup-conf.sh | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/backup-conf.sh b/backup-conf.sh index 96baa5b..12fc3c7 100755 --- a/backup-conf.sh +++ b/backup-conf.sh @@ -88,6 +88,7 @@ cp $HOME/.zshrc "$dest_shell" # Autres +cp $HOME/.backup_list.conf "$dest" cp -R $HOME/.config "$dest" # joplin, mpv, rclone, xnview cp $HOME/.exclude-rsync "$dest" cp $HOME/.gitconfig "$dest" @@ -98,18 +99,24 @@ cp -R $HOME/.iterm2 "$dest" cp -R $HOME/.kymsu "$dest" cp $HOME/.nanorc "$dest" cp -R $HOME/.nanosyntax "$dest" +[ -f $HOME/.password.txt ] && cp $HOME/.password.txt "$dest" cp -R $HOME/.ssh "$dest" cp -R $HOME/.vnc "$dest" -[ -f $HOME/.wg++/WebGrab++.config.xml ] && cp $HOME/.wg++/WebGrab++.config.xml "$dest" -cp -R $HOME/Library/Application\ Support/Transmit "$dest" -cp $HOME/backup_list.conf "$dest" + cp /private/etc/hosts "$dest" -cp $HOME/Dropbox/Dash.dash "$dest" -[ -f $HOME/.password.txt ] && cp $HOME/.password.txt "$dest" + +cp -R $HOME/Library/Application\ Support/Transmit "$dest" cp -R $HOME/Library/LaunchAgents "$dest" cp $HOME/Documents/Scripts/kymsu2/plugins.d/Brewfile "$dest" cp $HOME/Documents/Scripts/kymsu2/plugins.d/Installed_silverbook*.md "$dest" +cp $HOME/Dropbox/Dash.dash "$dest" +[ -f $HOME/.wg++/WebGrab++.config.xml ] && cp $HOME/.wg++/WebGrab++.config.xml "$dest" +# +test_and_copy() { + +} +# terminal-notifier -title 'Backup configurations' -message 'Sauvegarde terminée !' -sound 'Glass' server1="clicclac.synology.me:/volume1/Backup/SilverBook/"