Skip to content

Instantly share code, notes, and snippets.

View haraki's full-sized avatar

Masashi Haraki haraki

View GitHub Profile
@haraki
haraki / .gitignore
Created May 9, 2019 10:33
initial commit of GitHub for Unity
[Ll]ibrary/
[Tt]emp/
[Oo]bj/
[Bb]uild/
[Bb]uilds/
[Ll]ogs/
# Uncomment this line if you wish to ignore the asset store tools plugin
# [Aa]ssets/AssetStoreTools*
@haraki
haraki / rename_date_jpg.sh
Created July 9, 2019 14:02
ディレクトリ内のJPEGファイルの名前を {YYYYMMDD_hhmmss}.JPG に置き換える bash スクリプト
#!/bin/bash
for file in `find . -name '*.JPG'`; do
echo $file
date=`date -r $file "+%Y%m%d_%H%M%S"`
mv $file "${date}.JPG"
done