Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYury Melnichek <melnichek@gmail.com>2012-05-29 08:59:01 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:40:14 +0300
commitd884b7280feae1a45dc210b633d44416c539e8d0 (patch)
treeec82e4c70a533d63de9da141c89927c867b6d505 /crawler
parent157cbfe78c67b6188b21cfd28cf414292c10d37c (diff)
[guide] Fix image extraction when there are too many files in a directory.
Diffstat (limited to 'crawler')
-rwxr-xr-xcrawler/extract-image-urls.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawler/extract-image-urls.sh b/crawler/extract-image-urls.sh
index e63d10085d..da07574755 100755
--- a/crawler/extract-image-urls.sh
+++ b/crawler/extract-image-urls.sh
@@ -1,7 +1,7 @@
#!/bin/bash
set -e -u -x
-grep --ignore-case --only-matching --no-filename '<img[^/]*src=\"[^">]*"' *.opt \
+grep --ignore-case --only-matching --no-filename '<img[^/]*src=\"[^">]*"' -r --include=*.opt . \
| sed 's/<img.*src="//g' \
| sed 's/"$//g' \
| sort -u \