I am trying to search how to pass parameters in a Bash function, but what comes up is always how to pass parameter from the command line.
I would like to pass param
Miss out the parens and commas:
myBackupFunction ".." "..." "xx"
and the function should look like this:
function myBackupFunction() { # here $1 is the first parameter, $2 the second etc. }