Как записывать рабочий стол со звуком на ffmpeg

Ответы прекрасны, я также даю вам другую команду, которая выполняет эту работу:

ls -1 | grep -v "\." | awk '{print "mv "$0" "$0".html"}' | sh

Некоторое объяснение:

ls - list directory contents

 -1     list one file per line

grep prints the matching lines.

-v, --invert-match
              Invert the sense of matching, to select non-matching lines.  (-v
              is specified by POSIX.)

Awk is mostly used for pattern scanning and processing. It searches one or more files to see if they contain lines that matches with the specified patterns and then perform associated actions.

ПРИМЕЧАНИЕ:

[d3 ] Я пробую ваш сценарий, и команда выполнит задание.

1
задан 13 March 2017 в 10:58

0 ответов

Другие вопросы по тегам:

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