If you are using the Code Editor (most likely), you can use a function found here.
Take in consideration that it will require you to 'Run' every single task manually. It would be something like:
var ExportCol = function(col, folder, scale, type,
nimg, maxPixels, region) {
type = type || "float";
nimg = nimg || 500;
scale = scale || 1000;
maxPixels = maxPixels || 1e10;
var colList = col.toList(nimg);
var n = colList.size().getInfo();
for (var i = 0; i < n; i++) {
var img = ee.Image(colList.get(i));
var id = img.id().getInfo();
region = region || img.geometry().bounds().getInfo()["coordinates"];
var imgtype = {"float":img.toFloat(),
"byte":img.toByte(),
"int":img.toInt(),
"double":img.toDouble()
}
Export.image.toDrive({
image:imgtype[type],
description: id,
folder: folder,
fileNamePrefix: id,
region: region,
scale: scale,
maxPixels: maxPixels})
}
}
// Load Landsat 8 ImageCollection for area.
var collection=ee.ImageCollection('LANDSAT/LC08/C01/T1_TOA')
.filterDate('2015-01-01','2015-02-28')
.filterBounds(AOI).select('B2');
print('Landsat: ', collection);
ExportCol(collection, 'CHOOSE_A_FOLDER', 30)
It will download the entire images (all scene), not just the AOI, if you want only the AOI change the las line with:
ExportCol(collection, 'CHOOSE_A_FOLDER', 30, 'float', 500, 1e10, AOI)
Otherwhise, if you use the Python API you can do it automatically, but the code of course would be different.
collection
, you should be more specific. I recommend first reading developers.google.com/earth-engine