You do not need to add such quotes (in fact, probably this will not work). Instead, just use them in the cp line:
CF=$(ls -tr /mypath/CHS1*.xlsx | tail -1) cp "$CF" "/mydest/myfile.xlsx"
I changed it from using backticks to the new ( and preferred ) $() syntax.
Carl Norum
source share