Playing with Ruby: Silly backup tool for Amazon S3
Jan 2, 2011
1 minute read
To celebrate the New Year, I played a little with Ruby. I made this small Ruby script to download all original image files of PicLyf
stored in Amazon S3:
The scripts loops through all objects from S3 and downloads only the original image files (ours have the “*_o.jpg” pattern).
If it reaches the end of the loop, it will wait for new objects.
This is really just a simple silly script but it’s a good Ruby exercise :)