# How can I copy a directory from S3 into my EC2?

**URL:** https://community.wowza.com/t/how-can-i-copy-a-directory-from-s3-into-my-ec2/660
**Category:** Wowza Streaming Engine
**Created:** [July 2, 2009, 11:46pm UTC](https://community.wowza.com/t/how-can-i-copy-a-directory-from-s3-into-my-ec2/660 "2009-07-02T23:46:08Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/system/32/447_2.png) [@system](https://community.wowza.com/u/system)
#### Post date: [July 2, 2009, 11:46pm UTC](https://community.wowza.com/t/how-can-i-copy-a-directory-from-s3-into-my-ec2/660/1 "2009-07-02T23:46:08Z")

</div>

I have a bucket of files including many directories in S3. I need to copy a couple of directories from S3 into my Wowza EC2. Can some one please help me with this? I tried s3sync and it seems to be able to sync a directory to S3 and back, but I am unable to copy just one directory full of files.

Richard, BTW, thanks for the excellent EBS post. It works great.

Thanks

---

<div class="post-metadata">

### Author: ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)
#### Post date: [July 3, 2009, 12:04pm UTC](https://community.wowza.com/t/how-can-i-copy-a-directory-from-s3-into-my-ec2/660/2 "2009-07-03T12:04:57Z")

</div>

Ramesh,

Try this out, works great:

[https://www.wowza.com/forums/showthread.php?p=21014#4](https://www.wowza.com/forums/showthread.php?p=21014#4)

Use this to mount S3 buckets on your EC2 instance. You can even set an S3 buckket as the content folder for a Wowza application so that you can record directly to S3. (I wouldn’t use this for vod application tho. Stick to the vods3 package with cacheing for that purpose)

Richard
