diff --git a/README.md b/README.md index 0f4a1a5..bb92b9f 100644 --- a/README.md +++ b/README.md @@ -392,3 +392,71 @@ Benchmarking Discos sudo apt install hdparm sudo hdparm -Tt /dev/sdc + + +### themes + - https://github.com/EliverLara/Nordic + + ### shell + +- zsh + +``` bash +sudo apt install zsh +chsh -s /bin/zsh $whoami +sudo apt-get install fonts-powerline + +#source https://ohmyz.sh/#install +ssh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" + +#~/home/.zshrc +#ZSH_THEME="agnoster" + +``` +### terminal + + + - guake + +``` bash +apt install guake + ``` + + ``` bash +# ~/.config/autostart/guake.desktop + [Desktop Entry] +Name=guake +GenericName=guake auto start +Comment= +Exec=guake --hide +Terminal=false +Type=Application +X-GNOME-Autostart-enabled=true +``` + +- terminator + +``` bash +apt install terminator + ``` + + +## Backups + +## workstation script + +``` bash + +#!/bin/bash +gio mount ftp://ftp.backups@backupsrv01.dev.lan < ~/.credentials/ftp.backups@backupsrv01.dev.lan + +DATE=$(date +%d-%m-%Y) +BACKUP_DIR="/run/user/1000/gvfs/ftp:host=backupsrv01.dev.lan,user=ftp.backups/mf.brutus.dev.lan" + +#To backup 2daygeek's home directory +tar -zcvpf $BACKUP_DIR/home-mf_$DATE.tar.gz --exclude="**/.tmp/*" --exclude="**/Downloads/*" --exclude="**/.cache/*" --exclude="**/Trash/*" --exclude="**/cache/*" /home/mf + +#To delete files older than 10 days +find $BACKUP_DIR/* -mtime +10 -exec rm {} \; + +gio mount -u ftp://ftp.backups@backupsrv01.dev.lan \ No newline at end of file