76 lines
3.3 KiB
Markdown
76 lines
3.3 KiB
Markdown
# Scripts bash
|
|
|
|
Collection of various bash scripts.
|
|
|
|
|
|
|
|
## Getting Started
|
|
|
|
- **apache_tools.sh**: Edit Apache/PHP/MySQL configurations files, restart Apache, view Log files, switch PHP version
|
|
- **api_deepl.sh**: Translate text to another language using DeepL API (function translate). Require a $DEEPL_KEY.
|
|
- **api-ovh.sh**:
|
|
- **backup-conf.sh**: Backup several files and folders and send them on 2 servers (rsync). (uses GPG2 to encrypt certain files)
|
|
- **backup_conf.sh**: Copy several .conf files on Mac to destination folder
|
|
- **backup_Joplin.sh**: Backup all Joplin notes
|
|
- ! **backup_mysql.sh**: Sauvegarde toutes les bases MySQL et les envoie sur 2 serveurs (rsync). (use gpg to decrypt MySQL conf file)
|
|
- ! **backup_vps.sh**: Backup files/folders on VPS server and send them to NAS and OVH with rsync.
|
|
- **bash_tools.sh**: Edit/backup/restore .bash_profile file.
|
|
- **convert-videos-for-plex.sh**: Obsolete. Replaced by **handbrake_for_plex.sh**
|
|
- **crypt.sh**: encrypt/decrypt password with openssl. .env file usage.
|
|
- curl.sh:
|
|
- **curl2.sh**: upload content folder to OVH using curl.(!! PASSWD)
|
|
- **exiftool.sh**: display or remove EXIF from picture. (Error !!!)
|
|
- **git_reachable.sh**: test if a repo git is reachable.
|
|
- **git-sparse.sh**: function git-scp (Error !!!)
|
|
- **handbrake_for_plex.sh**:
|
|
- **iconv.sh**: converts keywords from utf-8 to ASCII
|
|
- **install_adobe_apps.sh**: installe les apps Adobe (Lightroom, Photoshop) depuis les serveurs Adobe.
|
|
- **latest_release_on_github.sh**: retrieve the latest release from a GitHub repo with the API.
|
|
- **mbv-gitea-upd.sh**: met à jour Gitea sur maboiteverte.fr
|
|
- **mkbuild.sh**: Build MkDocs project and send him on 2 servers (rsync)
|
|
- **ovh_api.sh:** OVH API usage (functions: add_cname, remove_cname, refresh, export_zone)(require OVH_CONSUMER_KEY, OVH_APP_KEY, OVH_APP_SECRET)
|
|
- ! **photo_du_mois.sh**:
|
|
- **purge_server.sh**: libère de la place sur le VPS 1and1
|
|
- **reachable.sh**: vérifie si les serveurs sont joignables avec ping, nc & nmap
|
|
- **remote_scripts.sh**: exécute des scripts via ssh sur maboiteverte.fr
|
|
- **rename_series.sh**: renomme les séries. Utilisé dans **handbrake_for_plex.sh**.
|
|
- **rsync-retry.sh**: runs rsync, retrying on errors up to a maximum number of tries.
|
|
- **run.sh**: menu pour lancer updates.sh, mkdocs serve, mkbuid.sh, photo_du_mois.sh
|
|
- **server.sh**: liste des serveurs/users/dest/port
|
|
- **sphp.sh**: change PHP version
|
|
- **sphp_php-fpm.sh**: change PHP -FPM version
|
|
- ssl-cert-info.sh:
|
|
- **syno-cron-gitea-update.sh**: met à jour Gitea (binaire) sur le NAS Syno.
|
|
- **thumbsup-npm.sh**: exécute `thumbsup --config="$config_file"` pour créer une galerie Thumbsup.
|
|
- **update_container.sh**: recherche les M-à-J de containers Docker.
|
|
- **upgrade_nextcloud.sh**: met à jour Nextcloud sur le NAS ou VPS.
|
|
- **urls_check.sh**: check if url is up or down (code 200|301|302\|303)
|
|
- **venv_solus.sh**: update apps in Python virtuals environments
|
|
- **zsh_tools.sh**: Edit/backup/restore .zshrc file
|
|
|
|
|
|
|
|
### Prerequisites
|
|
|
|
Requirements for the scripts: Bash
|
|
|
|
|
|
|
|
## Authors
|
|
|
|
- **Billie Thompson** - *Provided README Template* -
|
|
[PurpleBooth](https://github.com/PurpleBooth)
|
|
|
|
## License
|
|
|
|
This project is licensed under the [CC0 1.0 Universal](LICENSE.md)
|
|
Creative Commons License - see the [LICENSE.md](LICENSE.md) file for
|
|
details
|
|
|
|
|
|
|
|
|
|
|
|
-
|
|
|