Skip to content

Instantly share code, notes, and snippets.

@toshihirock
Created February 13, 2015 07:00
Show Gist options
  • Save toshihirock/61106660984fbf21e641 to your computer and use it in GitHub Desktop.
Save toshihirock/61106660984fbf21e641 to your computer and use it in GitHub Desktop.
日付つきのログファイルがあるディレクトリでユニークな名前のもの一覧を取得する
ls /path/to/ | sed -e "s/.\{13\}$//" |uniq
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment