.split("\n")

Results 2 comments of .split("\n")

+1 for customizable snapshot name. It's useful for multiple reasons mentioned above.

以前から勝手に使ってますが、動作してます。ありがとうございます。