DEV Community

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)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay