diff --git a/content/post/the-digital-panopticon.md b/content/post/the-digital-panopticon.md new file mode 100644 index 0000000..cef1f8f --- /dev/null +++ b/content/post/the-digital-panopticon.md @@ -0,0 +1,9 @@ +--- +title: "The Digital Panopticon" +date: 2022-12-25T11:03:54Z +tags: [] +topics: [] +image: img/ +description: +draft: true +--- diff --git a/push-asset b/push-asset index 43a10e1..ee07a5a 100755 --- a/push-asset +++ b/push-asset @@ -9,17 +9,17 @@ file=$(basename "${1}") # The assumption is all images are for the blog if [[ "$1" =~ .*\.(gif|jpg|png) ]]; then - s3cmd put -P ${1} s3://gmgauthier/blog/img/${file} + s3cmd put -P "${1}" s3://gmgauthier/blog/img/"${file}" fi # The assumption is all audio is for the podcast if [[ "$1" =~ .*\.(mp3|ogg|wav) ]]; then - s3cmd put -P ${1} s3://gmgauthier/podcast/audio/${file} + s3cmd put -P "${1}" s3://gmgauthier/podcast/audio/"${file}" fi # The assumption is all video is generic if [[ "$1" =~ .*\.(mp4|mkv|m4v) ]]; then - s3cmd put -P ${1} s3://gmgauthier/videos/${file} + s3cmd put -P "${1}" s3://gmgauthier/videos/"${file}" fi