Add timestamp script
This commit is contained in:
9
bin/timestamp
Executable file
9
bin/timestamp
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/usr/bin/env ruby
|
||||
|
||||
require "date"
|
||||
|
||||
ts = DateTime.now.iso8601
|
||||
|
||||
IO.popen("pbcopy", "w") { |pb| pb.write(ts) }
|
||||
|
||||
puts ts
|
||||
Reference in New Issue
Block a user