I have command to move files between s3 folders. I am getting bucket name from context variable. placed the command in array line
"aws s3 mv s3://"+context.bucket+"/Egress/test1/abc/xyz.dat s3://"+context.bucket+"/Egress/test1/abc/archive/archive_xyz.dat"
The command fetches the bucket name from context variable, but shows no file or direcrtory error=2. I think it is due to (") at begin and end. Is there any way to solve.
please help