$ /usr/local/lsws/poly/public_html ᐅ
.
├── image
│ ├── cache
│ │ └── catalog
│ │ ├──cart.png
│ │ ├── demo
│ │ ├── index.html
│ │ └── logo.png
│ └── catalog
│ ├── cart.png
│ ├── demo
│ ├── index.html
│ └── logo.png
└── system
└── storage
├── cache
└── modification
您需要排除文件夹中的文件
/usr/local/lsws/poly/public_html/image/cache/*
/usr/local/lsws/poly/public_html/image/system/storage/cache/*
/usr/local/lsws/poly/public_html/image/system/storage/modification/*
这不是
7za a /usr/local/lsws/poly/back_up/3.7z /usr/local/lsws/poly/public_html -axr!/usr/local/lsws/poly/public_html/image/cache/* -axr!/usr/local/lsws/poly/public_html/image/system/storage/cache/* -axr!/usr/local/lsws/poly/public_html/image/system/storage/modification/*;
错误
zsh: event not found: /usr/local/lsws/poly/public_html/image/cache/
我的计划
- CentOS 7
- p7zip 版本 16.02
- 嘚