Skip to content

Instantly share code, notes, and snippets.

View danhort's full-sized avatar
👾

Daniel Horton-Wellings danhort

👾
View GitHub Profile
@danhort
danhort / runScript.sh
Last active October 3, 2018 22:14
Magento 1 bash shell script to run PHP shell import scripts. This script prevents the PHP memory error during Magento 1 imports.
#!/usr/bin/env bash
print_help() {
USAGE="
This Shell script runs php import script that require csv files. It creates individual csv files depending on the sort option.
The purpase of this script is to surcomvent the 'out of memory error'.
options
-h, --help Show help content

Keybase proof

I hereby claim:

  • I am danhort on github.
  • I am dhw (https://keybase.io/dhw) on keybase.
  • I have a public key ASAMYw_zr1jeo7apbJL0F4Ekf6vDBLB99hTQ8AY7A1JBJgo

To claim this, I am signing this object: