This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#find non-ascii file names | |
LC_ALL=C find . -name '*[! -~]*' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#based on https://askubuntu.com/questions/786062/install-desktop-on-server | |
sudo apt install xorg | |
#Install lightdm-gtk-greeter first or it will install unity-greeter as dependency: | |
sudo apt install lightdm-gtk-greeter | |
sudo apt install lightdm | |
sudo apt install lxde-core | |
sudo apt install lxpolkit #(pkexec can't run without it) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#this setup is based on https://scotthelme.co.uk/easy-cheap-and-secure-backup-with-google-cloud-platform | |
LOG_DIR=~/logs | |
LOCK_FILE=~/gsutil_backup_cron.lock | |
#everything under /data (excluding data) will be put into the target gs bucket | |
SOURCE_DIR=/data |