2017 © Pedro Peláez
 

bash-script shellwrapper

Wrapper for running multiple bash script files.

image

undpaul/shellwrapper

Wrapper for running multiple bash script files.

  • Monday, February 19, 2018
  • by derhasi
  • Repository
  • 5 Watchers
  • 4 Stars
  • 5,430 Installations
  • Shell
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 1 Open issues
  • 4 Versions
  • 9 % Grown

The README.md

Shellwrapper

This script is a wrapper to run several shell scripts located in a folder., (*1)

See example.sh for an example how to call. A full usage example is available in https://github.com/undpaul/update_sh., (*2)

Features

  • Running scripts in alphabetical order
  • Running .sh files as subshells (using sh -e)
  • Running .exportsh files as sourced shells (using source)
  • Run tag specific files only if the tag is passed (e.g. myfile.mytag.sh)

Arguments

  1. The relative or absolute path of the folder the scripts are located.
  2. (optional) a string that is used as tag. Multiple tags can be separated by comma ","

Our use case

We use that wrapper to call several scripts, that are made to update our Drupal sites. Therefore we place drush commands (and some others) in different files to structure them in topic groups and in an alphabetical/numerial order., (*3)

The tag is used to run scripts only on a specific stage (like local, integra or live)., (*4)

Contribution

You are very welcome to contribute to the code, fork the repository, file issues and especially: use the script., (*5)

Licence

The code is licensed under GPL2 (see LICENSE.txt)., (*6)

Contact

Originally created by Johannes Haseitl - johannes@undpaul.de, (*7)

undpaul GmbH - die Drupal-Spezialisten, (*8)

http://www.undpaul.de, (*9)

The Versions

19/02 2018

dev-master

9999999-dev

Wrapper for running multiple bash script files.

  Sources   Download

GPLv2+ GPL-2.0-or-later

18/02 2016

1.0.1

1.0.1.0

Wrapper for running multiple bash script files.

  Sources   Download

GPLv2+

28/01 2015

dev-php

dev-php

Wrapper for running multiple bash script files.

  Sources   Download

26/01 2015

1.0.0

1.0.0.0

Wrapper for running multiple bash script files.

  Sources   Download