It's Working. Only 2 changes while creating scedule : 1. Condition : Check on Network : Start only if network connection is available 2. Settings : Check on Run as soon as possible after scedule start is missed Thank you sir!!
I'm from your reccomendation for making a CLI Programme managing file. In this vidieo, it is such an great way to safe time by creating Automated system. However, the project that i am going to do seem like using boto3 like the code file i saw in the 3:00 minutes. Finally my project is kind of, create an python CLI programme using argparse or click and mix with boto3 to interact with the aws s3 to backup,manage file... finnally i have to pack up my file into an execution file by PyInstaller and then send to the end user. Do you have any documents in-depth practical about that field i have mentioned, if yes please guide me. Thanks a lot for your lesson
@echo off setlocal set "AWS_PROFILE=default" :: Use your AWS CLI profile name set "S3_BUCKET_NAME=your-bucket-name" set "SOURCE_DIR=C:\...you location" echo Backing up files from %SOURCE_DIR% to s3://%S3_BUCKET_NAME% aws s3 sync %SOURCE_DIR% s3://%S3_BUCKET_NAME% --delete endlocal
It's Working.
Only 2 changes while creating scedule :
1. Condition : Check on Network : Start only if network connection is available
2. Settings : Check on Run as soon as possible after scedule start is missed
Thank you sir!!
Welcome ++ 😀
I'm from your reccomendation for making a CLI Programme managing file. In this vidieo, it is such an great way to safe time by creating Automated system. However, the project that i am going to do seem like using boto3 like the code file i saw in the 3:00 minutes. Finally my project is kind of, create an python CLI programme using argparse or click and mix with boto3 to interact with the aws s3 to backup,manage file... finnally i have to pack up my file into an execution file by PyInstaller and then send to the end user. Do you have any documents in-depth practical about that field i have mentioned, if yes please guide me. Thanks a lot for your lesson
@Dinhgiabaok .. thank you 😊…. I don’t have something specific document … but I can assist with your logic if you get stuck somewhere…. 😊
👍
source code please
@echo off
setlocal
set "AWS_PROFILE=default" :: Use your AWS CLI profile name
set "S3_BUCKET_NAME=your-bucket-name"
set "SOURCE_DIR=C:\...you location"
echo Backing up files from %SOURCE_DIR% to s3://%S3_BUCKET_NAME%
aws s3 sync %SOURCE_DIR% s3://%S3_BUCKET_NAME% --delete
endlocal