Compare commits

..

2 commits

2 changed files with 23 additions and 0 deletions

22
.bashrc
View file

@ -192,4 +192,26 @@ function pdfcompress(){
gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/$quality -dNOPAUSE -dQUIET -dBATCH -sOutputFile="$2" "$1" 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" export PATH="$HOME/.cargo/bin:$PATH"

View file

@ -47,6 +47,7 @@ settings:
https://teams.microsoft.com: true https://teams.microsoft.com: true
https://visio.inubo.ch: true https://visio.inubo.ch: true
content.media.audio_video_capture: content.media.audio_video_capture:
https://teams.microsoft.com: true
https://visio.inubo.ch: true https://visio.inubo.ch: true
content.media.video_capture: content.media.video_capture:
https://bbb.faimaison.net: true https://bbb.faimaison.net: true