#!/bin/bash if [ "$1" != "" ] && [ "$2" != "" ] && [ "$3" != "" ]; then { mkdir -p "$2"/contents/"$3"/ cp -r "$1"/* "$2"/contents/"$3"/ } else { echo "The program need at least three arguments: <path_modtree> <mod_name> <title_ref>" } fi