Collection of simple shell scripts
Find a file
2023-10-17 23:07:14 +02:00
bin Get information about laptop battery (just a stub) 2023-10-17 23:06:18 +02:00
.gitignore Update .gitignore 2023-10-17 22:59:08 +02:00
LICENSE Initial commit 2023-03-22 23:20:18 +01:00
README.md Add README.md 2023-04-29 19:36:28 +02:00
shell-scripts.code-workspace Update *.code-workspace file 2023-10-17 23:07:14 +02:00

Shell scripts

This is a small collection of shell scripts I made to carry out a few daily tasks, like backing up and syncing files between my laptop and desktop PCs, and monitoring my laptop battery status.

These scripts are in fact quite simple, so they don't really deserve their own separate Git repo. Therefore, I keep all of them in this one repository.

They're located in the bin directory.

Small summary of the purposes of these scripts:

  • set a limit to battery charge on laptop (tested only on my ASUS VivoBook S15)
  • monitor the status of my laptop battery
  • sync files and directories between two PCs with rsync + SSH
  • backup files and directories to external drive with rsync

The scripts I use for backing up and syncing files are very specific to my use case, but I decided to share them anyway, in case they may be of inspiration for somebody else.

Copying

The shell scripts in this repository are free software: you can redistribute them and/or modify them under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

These programs are distributed in the hope that they will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with these programs. If not, see https://www.gnu.org/licenses/.

Copyright (C) 2023 Luca Pellegrini