def rebuild_media():
    """Copies media fixtures into your media_root."""
    local('rm -rf %s' % MEDIA_ROOT)
    media_fixtures_path = os.path.join(PROJECT_ROOT,
            'test_media/fixtures/media/')
    local('mkdir -p %s' % media_fixtures_path)
    local('cp -rf %s %s' % (media_fixtures_path, MEDIA_ROOT))
dataset/ETHPy150Open bitmazk/webfaction-django-boilerplate/website/webapps/django/project/fabfile/local.py/rebuild_media/original