Skip to content

Instantly share code, notes, and snippets.

@curegit
Last active June 11, 2023 07:04
Show Gist options
  • Save curegit/a675ac71d5e4c59e05b2b9120480139f to your computer and use it in GitHub Desktop.
Save curegit/a675ac71d5e4c59e05b2b9120480139f to your computer and use it in GitHub Desktop.
ファイルタイプ一覧を出す関数
#!/bin/bash
files () {
find "${1:-.}" -type f -not -path "*/.git/*" -not -path "*/node_modules/*" -exec file {} \;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment