Name | Modified | Size | Downloads / Week |
---|---|---|---|
tyci-tyci-shell-scripts-0.99.tar.bz2 | 2023-09-25 | 4.7 kB | |
timeset.sh | 2023-09-25 | 1.3 kB | |
sync.sh | 2023-09-25 | 692 Bytes | |
postpone_terminal.sh | 2023-09-25 | 2.0 kB | |
sync_dir.sh | 2023-09-25 | 60 Bytes | |
JpegToJpeg2k.sh | 2023-09-25 | 858 Bytes | |
dev2_add_tools.sh | 2023-09-25 | 2.6 kB | |
backup_pi.sh | 2023-09-25 | 589 Bytes | |
backup_all_running_continers.sh | 2023-09-25 | 399 Bytes | |
README.md | 2023-09-25 | 1.3 kB | |
tyci-tyci-shell-scripts-0.98.tar.bz2 | 2023-03-08 | 3.0 kB | |
dev2_add_nettools.sh | 2022-10-18 | 508 Bytes | |
Totals: 12 Items | 17.8 kB | 8 |
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