Skip to content

Commit

Permalink
UPDATE storage-class of aws s3 cp command
Browse files Browse the repository at this point in the history
  • Loading branch information
ramesh-maddegoda committed Aug 13, 2024
1 parent 47efe15 commit 76df396
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ then
replace_with="s3://$COLD_ARCHIVE_S3_BUCKET_NAME/"
target_location="${s3_url_of_file//$str_to_replace/$replace_with}"
echo "Archiving files to cold archive: $target_location"
aws s3 cp "$s3_url_of_file" "$target_location"
aws s3 cp "$s3_url_of_file" "$target_location" --storage-class GLACIER

done < "$filename"

Expand Down

0 comments on commit 76df396

Please sign in to comment.