Forem

Long Nguyễn Xuân
Long Nguyễn Xuân

Posted on

sync Windows local folder với aws s3

Đồ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

Top comments (0)

AWS Security LIVE!

Tune in for AWS Security LIVE!

Join AWS Security LIVE! for expert insights and actionable tips to protect your organization and keep security teams prepared.

Learn More

👋 Kindness is contagious

Discover a treasure trove of wisdom within this insightful piece, highly respected in the nurturing DEV Community enviroment. Developers, whether novice or expert, are encouraged to participate and add to our shared knowledge basin.

A simple "thank you" can illuminate someone's day. Express your appreciation in the comments section!

On DEV, sharing ideas smoothens our journey and strengthens our community ties. Learn something useful? Offering a quick thanks to the author is deeply appreciated.

Okay