I'd change `$$` to `"$(date +%Y%m%d%H%M%S)"`