diff options
author | Yury Melnichek <melnichek@gmail.com> | 2012-05-29 08:59:01 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:40:14 +0300 |
commit | d884b7280feae1a45dc210b633d44416c539e8d0 (patch) | |
tree | ec82e4c70a533d63de9da141c89927c867b6d505 | |
parent | 157cbfe78c67b6188b21cfd28cf414292c10d37c (diff) |
[guide] Fix image extraction when there are too many files in a directory.
-rwxr-xr-x | crawler/extract-image-urls.sh | 2 |
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 \ |