------Compress files------
cd /var/gateway/log/
tar -czf req_res_logger_30.tar request-response-logger.log.2018-09-30
------Upload files------
aws s3 cp req_res_logger_28.tar s3://smart-log-archive/DEP1-gateway-logs/archive/
aws s3 cp req_res_logger_29.tar s3://smart-log-archive/DEP1-gateway-logs/archive/
aws s3 cp req_res_logger_30.tar s3://smart-log-archive/DEP1-gateway-logs/archive/
------List files------
aws s3 ls smart-log-archive/DEP1-gateway-logs/archive
cd /var/gateway/log/
tar -czf req_res_logger_30.tar request-response-logger.log.2018-09-30
------Upload files------
aws s3 cp req_res_logger_28.tar s3://smart-log-archive/DEP1-gateway-logs/archive/
aws s3 cp req_res_logger_29.tar s3://smart-log-archive/DEP1-gateway-logs/archive/
aws s3 cp req_res_logger_30.tar s3://smart-log-archive/DEP1-gateway-logs/archive/
------List files------
aws s3 ls smart-log-archive/DEP1-gateway-logs/archive