Skip to content

Instantly share code, notes, and snippets.

@Andrew8xx8
Last active December 24, 2019 19:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Andrew8xx8/9445c9bf78612e12a84301be131425c8 to your computer and use it in GitHub Desktop.
Save Andrew8xx8/9445c9bf78612e12a84301be131425c8 to your computer and use it in GitHub Desktop.
rename на OSX

Установка OSX

Открыть терминал и выполнить последовательно две команды

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew install rename

Использование для очистки названия семплов

Открыть терминал.

Перейти папку с семплами помощью команды cd.

Выполнить:

rename 's/\s\(.*\)\s\[.*\]//i' *
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment