Compare commits
2 commits
4d9871abf6
...
7906307536
Author | SHA1 | Date | |
---|---|---|---|
7906307536 | |||
f85f88f66c |
2 changed files with 23 additions and 0 deletions
22
.bashrc
22
.bashrc
|
@ -192,4 +192,26 @@ function pdfcompress(){
|
|||
gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/$quality -dNOPAUSE -dQUIET -dBATCH -sOutputFile="$2" "$1"
|
||||
}
|
||||
|
||||
function dirsBackup() {
|
||||
declare -A repo
|
||||
repo[ragBck]=raghnarok_bck
|
||||
repo[ragCloud_bck]=ragCloud_bck
|
||||
repo[nextcloud_bck]=nextcloud_bck
|
||||
repo[nextcloudSS_bck]=nextcloudSS_bck
|
||||
LOCAL="/media/HDD1/"
|
||||
DISTANT="/media/raghnarok/ragBck"
|
||||
|
||||
read -p "Disque cible (01 ou 02): " dst
|
||||
DISTANT="$DISTANT$dst/"
|
||||
|
||||
for key in "${!repo[@]}";
|
||||
do
|
||||
echo "$key -> ${repo[$key]}"
|
||||
rsync -av --delete "$LOCAL$key/" "$DISTANT${repo[$key]}/"
|
||||
done
|
||||
|
||||
echo "music -> music_bck"
|
||||
rsync -av --delete "/media/ragnas/music/" "$DISTANT/music_bck/"
|
||||
}
|
||||
|
||||
export PATH="$HOME/.cargo/bin:$PATH"
|
||||
|
|
|
@ -47,6 +47,7 @@ settings:
|
|||
https://teams.microsoft.com: true
|
||||
https://visio.inubo.ch: true
|
||||
content.media.audio_video_capture:
|
||||
https://teams.microsoft.com: true
|
||||
https://visio.inubo.ch: true
|
||||
content.media.video_capture:
|
||||
https://bbb.faimaison.net: true
|
||||
|
|
Loading…
Reference in a new issue