开发者

Force s3cmd to use wireless adapter instead of ethernet

开发者 https://www.devze.com 2023-03-08 06:56 出处:网络
I need a script to sync all data in a folder to S3 I think I have the script sorted but my only issue is tha开发者_运维技巧t I using the ethernet connection to get the files for the upload to S3 but o

I need a script to sync all data in a folder to S3 I think I have the script sorted but my only issue is tha开发者_运维技巧t I using the ethernet connection to get the files for the upload to S3 but only the wireless has access to the internet. Is there anything I can add to the script to force it to use the wireless connection?

USERNAME='/home/user/user.ip'
while read USERNAME; do
  s3cmd put -r $USERNAME s3://s3tools-demo/some/path/
done < $USER
0

精彩评论

暂无评论...
验证码 换一张
取 消