sync Windows local folder với aws s3

Long Nguyễn Xuân - Oct 15 '23 - - Dev Community

Đồng bộ Windows Local folder với aws s3

Tiền điều kiện

đã biết dùng S3 CLI (với Access Key)

  1. cài aws cli
  2. tạo 1 file sync-my-folder.bat trong nội dung file bat đấy gõ vào lệnh
  aws s3 sync s3://mybucket D:\folder-can-sync
Enter fullscreen mode Exit fullscreen mode
  1. bật Task Scheduler (nhấn nút Windows , gõ "task scheduler") bên Triggers thì set thời gian thực thi, bên Actions thì trỏ tới cái file sync-my-folder.bat ở trên

Image description

Enjoy

cám ơn bài gốc

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Terabox Video Player