소스 검색

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'