I need a little bit of help here with a shell script that I have attached.
At the moment, it is returning $inputfile1 and $inputfile2 as:
Is there a way to just get the file names without the path?(i.e Invoiced123.csv and Shipped123.csv)
I require just the filenames for the parameters of my perl script.
Thanks in advance.
for file in `find "$BASEDIR/input/" -name "Invoiced*" -printf "%f\n"` ; do
/cus/imports/test.pl $inputfile1 $inputfile2