scripts

Various scripts for UNIX-like systems
git clone https://git.tronto.net/scripts
Download | Log | Files | Refs | README

commit bb87698ceeb625b641308e3ef48dc66b29d0f1b1
parent 8d65aa80aaa523eba71ac84d72bee269260508b9
Author: Sebastiano Tronto <sebastiano@tronto.net>
Date:   Fri, 11 Feb 2022 18:05:02 +0100

Added -f option to cp

Diffstat:
Mconfig-backup | 8++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/config-backup b/config-backup @@ -6,13 +6,13 @@ folder=$HOME/box/configbackups dotfiles=".bash_profile .bashrc .inputrc .mblaze .nexrc .tmux.conf .xinitrc" config="colors fontconfig git imv mpop msmtp zathura" -src="clipmenu clipnotify dmenu dwm herbe st" +src="dmenu dwm herbe st" # copy -for i in $dotfiles; do cp -R $HOME/$i $folder/home/; done -for i in $config; do cp -R $HOME/.config/$i $folder/config/; done -for i in $src; do cp -R $HOME/.local/src/$i $folder/src/; done +for i in $dotfiles; do cp -Rf $HOME/$i $folder/home/; done +for i in $config; do cp -Rf $HOME/.config/$i $folder/config/; done +for i in $src; do cp -Rf $HOME/.local/src/$i $folder/src/; done # redact