/shell-scripts

Various shell scripts I wrote

Primary LanguageShell

Axel Leroy's shell scripts

Folder structure

Variables to set in .bashrc

Utility

  • SCRIPTS_FOLDER: absolute path to this folder
  • PUSHBULLET_ACCESS_TOKEN: access token for Pushbullet

Backups & Synchronization

  • RESTIC_REPOSITORY: used in restic-desktop.sh to set where my backup should live on my NAS
  • RESTIC_PASSWORD_FILE: path to the file containing the restic password
  • B2_KEY_ID: Backblaze B2 key ID
  • B2_APP_KEY: Backblaze B2 application key
  • B2_BUCKET_NAME: Name of the Backblaze B2 bucket to backup to

Wake on LAN

  • DESKTOP_NET_MASK: Mask of the network the computer is on (ex: 192.168.0.255)
  • DESKTOP_MAC: MAC address of the computer.
  • DESKTOP_DNS: DNS name of the computer. Can be its IP address.