Making filename with timestamp in shell script
그 때 다음 명령을 쓰면 된다.
$ export TIME=`date +'%Y%m%d_%H%M%S'`
$ program_name?options > result.${TIME}
Everything should be made as simple as possible, but not simpler – Einstein
그 때 다음 명령을 쓰면 된다.
$ export TIME=`date +'%Y%m%d_%H%M%S'`
$ program_name?options > result.${TIME}