Menu

Tree [6792ce] master /
 History

HTTPS access


File Date Author Commit
 src 2023-09-25 Barnaba Mateusz Piwek Barnaba Mateusz Piwek [6792ce] fix
 .gitignore 2022-10-18 Barnaba Mateusz Piwek Barnaba Mateusz Piwek [b001bf] initial
 README.md 2023-08-24 Barnaba Mateusz Piwek Barnaba Mateusz Piwek [d4d5b3] Script fixes
 helper.sh 2023-03-08 Barnaba Mateusz Barnaba Mateusz [b28d6a] helper.sh update

Read Me

Tine Shell scripts

These are small - straight forward, 'sh' scripts developed to simplify typical tasks. It can be used 'as it is', or as an examples to implement other solutions.

timeset.sh

One line command to set correct time. Command sends GET HTTP reqest to online server, then strips time from 'Date' header.
Useful in systems without RTC hardware such as Raspberry PI. It does not provide such a precision as NTP, but, it should be good enough for majority of applications. There is no special requirements regarding system (curl package) and network (HTTP/S query) connectivity.

It's handy to add this line to '/etc/rc.local', so the time is set correctly just after boot.

pospone_terminal.sh

Pospone commang execution, postpones execution of a given command by a given amount of secounds. Provides a simple annimation to ensure that system is 'not hanging', but counting down.

Command is designed to be used in a terminal, otherwise simple 'sleep

sync.sh & sync_dir.sh

Perform certain actions - such as git commit or backup, for a given directory. Script reads sub-directory list of a certain directory to call a specified acctions upon each sub-directory.

docker backup

Script that backups running docker continers

Version 0.99

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.