浏览代码

Single quote exclude line that includes an asterisk to prevent shell expansion

Adam Kouse 9 年之前
父节点
当前提交
dcffa5c6a2
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      docs/quickstart.rst

+ 1 - 1
docs/quickstart.rst

@@ -105,7 +105,7 @@ certain number of old archives::
         $REPOSITORY::`hostname`-`date +%Y-%m-%d`    \
         /home                                       \
         /var/www                                    \
-        --exclude /home/*/.cache                    \
+        --exclude '/home/*/.cache'                  \
         --exclude /home/Ben/Music/Justin\ Bieber    \
         --exclude '*.pyc'