This repository dedicated to myOWN BASH scripts I use for tests or daily purposes.
These scripts used on Mac or Linux platforms. Repository contain BASH scripts which you're able to clone and run on your systems. Don't forget to follow the comments and make scripts executable by: chmod +x ScriptName
-
bin
Folder:
This folder contain binary variants of scripts presented in other folders. -
MacOS
Folder:
This folder contain scripts specific for Mac OS. -
Linux
Folder:
This folder contain scripts specific for Linux. -
Synology
Folder:
This folder contain scripts specific for Synology Box. -
All Applications
:
Note : This code is not well optimized. If any tips, write me about.
Requires : BASH MUST be exist on your platform and running. Mac OS and Linux has it from the BOX.
Important: Please follow the comments for every script to get it working. -
To be continued...
-
helloMyMAC.sh
: This script DO NOTHING. Just Hello World in MAC OS.
The reason of this script is testing... -
video2prores.sh
: This script is a batch converter for video files. Usable for editing systems ingest.
Commands help by:$ video2prores.sh -h
mbak.sh
: This script is syncing two folders by rsync program.rsync
MUST be installed and accessible before you attempt to run this script.
The reason of this script is to escape annoyingrsync
parameters input ;)
-
sqlBackUp.sh
: This script is used to backup MySQL/MariaDB database (DUMP it). Wrote for ash shell which is used by Synology NAS.
Note : This script is not a BASH script. Tested by ASH shell only.
Requires : Synology NAS with ASH inside. -
startatd.sh
: This script is starting the atd daemon on Synology Box. Wrote for ash shell which is used by Synology NAS.
Note : This script is not a BASH script. Tested by ASH shell only. The atd installed by Synology bootstrap (ipkg). The script MUST be located in /usr/local/etc/rc.d/ It must contain the "sh" suffix. The permission must be 755. It must contain the options “start” and “stop”. When the system boots up, it will call “startatd.sh start”. When Synology shuts down, it will call “startatd.sh stop”.
These code may be COPYRIGHT PROTECTED by ©2017 DimiG