小编int*_*000的帖子

如何在重复中包含/排除目录

我正在使用双重性来备份我的一些文件。关于包含/排除模式,手册页有点令人困惑。我想备份以下内容:

/storage/include
/otherthings
Run Code Online (Sandbox Code Playgroud)

但不是

/storage/include/exclude
Run Code Online (Sandbox Code Playgroud)

包含文件目前看起来:

+ /storage/include
- /storage/include/exclude
+ /otherthings
- ** 
Run Code Online (Sandbox Code Playgroud)

双重性被称为如下:

/usr/bin/duplicity --include-globbing-filelist /Path/to/file/above / target
Run Code Online (Sandbox Code Playgroud)

它根本行不通。每次备份时,它还包括 /storage/include/exclude 中的文件。

duplicity

11
推荐指数
1
解决办法
2万
查看次数

标签 统计

duplicity ×1