Skip to content

Instantly share code, notes, and snippets.

View marcus-crane's full-sized avatar
💭
Online and logged on

Marcus Crane marcus-crane

💭
Online and logged on
View GitHub Profile
@marcus-crane
marcus-crane / email.sh
Last active September 22, 2016 05:18
A bash script for checking my raw emails received from an Amazon S3 bucket
#!/bin/bash
cd DIRECTORY
aws s3 sync s3://BUCKET_NAME .
for i in $( ls ); do
echo Name: $i
cat $i | grep "Subject: "
echo ""
done