apt update && apt install jpegoptim optipng -y
cd /path/to/your/image/folder
| #!/bin/bash | |
| #title : replication-start.sh | |
| #description : This script automates the process of starting a Mysql Replication on 1 master node and N slave nodes. | |
| #author : Nicolas Di Tullio | |
| #date : 20160706 | |
| #version : 0.2 | |
| #usage : bash mysql_replication_autostart.sh | |
| #bash_version : 4.3.11(1)-release | |
| #============================================================================= |
| #!/bin/bash | |
| for arg; do [[ $arg = /* ]] || arg=$PWD/$arg; absargs+=("$arg"); done; | |
| /Applications/P4Merge.app/Contents/Resources/launchp4merge "${absargs[@]}" | |