Skip to content

Instantly share code, notes, and snippets.

@chrisryana
Created June 7, 2022 16:20
Show Gist options
  • Save chrisryana/1f2f94951210ecbdb4a06bc492952280 to your computer and use it in GitHub Desktop.
Save chrisryana/1f2f94951210ecbdb4a06bc492952280 to your computer and use it in GitHub Desktop.
Удалить из папки и подпапок все файлы с расширением js, но кроме index.js файлов.
find ./src -name "*.js" | grep -v index.js | xargs rm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment