Skip to content

Commit c9fba80

Browse files
committed
Update readme
1 parent cff5b27 commit c9fba80

2 files changed

Lines changed: 9 additions & 4 deletions

File tree

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ usage: geebam upload [-h] -u USER --source SOURCE --dest DEST [-m METADATA]
6363
[--large] [--nodata NODATA]
6464
6565
66-
Google Earth Engine Batch Asset Uploader
66+
Google Earth Engine Batch Asset Manager
6767
6868
optional arguments:
6969
-h, --help show this help message and exit
@@ -129,6 +129,13 @@ Console output:
129129
2016-07-17 16:14:16,898 :: root :: INFO :: Collection users/pinkiepie/test removed
130130
```
131131

132+
### Delete all directories / collections based on a Unix-like pattern
133+
134+
```
135+
geebam delete users/pinkiepie/*weird[0-9]?name*
136+
```
137+
138+
132139
### Upload a directory with images to your myfolder/mycollection and associate properties with each image:
133140
```
134141
geebam upload -u pinkiepie@gmail.com --source path_to_directory_with_tif -m path_to_metadata.csv --dest users/pinkiepie/myfolder/myponycollection

geebam.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22

33
import argparse
44
import logging
5-
import os
6-
import sys
75

86
import ee
97

@@ -42,7 +40,7 @@ def main(args=None):
4240
parser = argparse.ArgumentParser(description='Google Earth Engine Batch Asset Manager')
4341

4442
subparsers = parser.add_subparsers()
45-
parser_delete = subparsers.add_parser('delete', help='Deletes collection and all items inside.')
43+
parser_delete = subparsers.add_parser('delete', help='Deletes collection and all items inside. Supports Unix-like wildcards.')
4644
parser_delete.add_argument('id', help='Full path to asset for deletion. Recursively removes all folders, collections and images.')
4745
parser_delete.set_defaults(func=delete_collection_from_parser)
4846

0 commit comments

Comments
 (0)