AWS s3 sync Fails with Extant File (debug log is attached)

0

I’m attempting to use the CLI to backup a file on a Windows 10 PC to an s3 bucket. The command (in a command file) has worked for a few days but today it failed, saying the file doesn’t exist. This problem recurred after a reboot and after upgrade to the latest version of the CLI.

I’ve attached the debug log which is preceded by a chkdsk and followed by a confirmation that the file exists. Any comments would be much appreciated.

Thank you,

Don Macnaughton

질문됨 4년 전340회 조회
1개 답변
0

For anyone else who has this problem, I see that the s3 sync command only syncs directories, not files. I was trying to sync a file. I suspect that my original version worked properly because I was using cp and not sync. I suspect that I changed cp to sync and then forgot that I had done that.

Don Macnaughton

Edited by: DonMac1503 on Apr 4, 2020 3:56 PM

답변함 4년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠