Puede comenzar con help test
, que mostrará la ayuda del subconjunto POSIX de la sintaxis admitida por el operador [[
.
Hay una documentación completa en la sección CONDITIONAL EXPRESSIONS
de man bash
.
Específicamente:
Other operators:
...
arg1 OP arg2 Arithmetic tests. OP is one of -eq, -ne,
-lt, -le, -gt, or -ge.
Arithmetic binary operators return true if ARG1 is equal, not-equal,
less-than, less-than-or-equal, greater-than, or greater-than-or-equal
than ARG2.
Вы можете объединить части файла с помощью cat
и передать результат в tar
, чтобы извлечь все:
cat F2019-06-30.www-root.tgz.part* | tar xz
Либо можно сделать это в два шага с комбинированным tgz:
cat F2019-06-30.www-root.tgz.part* > F2019-06-30.www-root.tgz
tar xfz F2019-06-30.www-root.tgz
Вы можете использовать флаг -d
дляunzip
Создайте временную папку mkdir tmp_name
, затем unzip your_zip_file.zip -d tmp_name