Skip to content

Instantly share code, notes, and snippets.

View tricknotes's full-sized avatar

Ryunosuke Sato tricknotes

View GitHub Profile
require "fileutils"
require "pathname"
require "date"
require "rubygems"
require "zipruby"
BACKUP_FOLDER = Pathname.new("/path/to/backup")
timestamp = DateTime.now.strftime("%Y%m%d%H%M%S")