Я пытаюсь выполнить вызов tar и получаю следующую ошибку:

Я пытаюсь использовать tar и получаю следующую ошибку:

$ tar --strip-components=1 xf /data/rvm-latest.tar.gz 
tar: You must specify one of the `-Acdtrux' or `--test-label' options
Try `tar --help' or `tar --usage' for more information.
0
14.10.2015, 12:48
1 ответ

Las opciones largas deben ir después de las opciones cortas cuando se usa el estilo tradicional .

En lugar de

tar --strip-components=1 xf /data/rvm-latest.tar.gz

uso

tar xf /data/rvm-latest.tar.gz --strip-components=1
0
28.01.2020, 02:49

Теги

Похожие вопросы