From 43ff4dd736a1aba553c6beacb17e09849e97e576 Mon Sep 17 00:00:00 2001 From: Eric Nielsen Date: Wed, 13 Sep 2017 12:19:40 -0500 Subject: [PATCH] zip: simplify -x example According to the 5th item of the [Guidelines](https://github.com/tldr-pages/tldr/blob/master/CONTRIBUTING.md#guidelines), avoid getting into details like glob patterns. --- pages/common/zip.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/common/zip.md b/pages/common/zip.md index f27371c0d..708249cb8 100644 --- a/pages/common/zip.md +++ b/pages/common/zip.md @@ -8,7 +8,7 @@ - E[x]clude unwanted files from being added to the compressed archive: -`zip -r {{compressed.zip}} {{path/to/dir}} -x \*.git\* \*node_modules\* ...` +`zip -r {{compressed.zip}} {{path/to/dir}} -x {{path/to/exclude}}` - Archive a directory and its contents with the highest level [9] of compression: