# File lib/facets/core/fileutils/compress.rb, line 115 def tar_gzip( folder, to_file=nil ) to_file ||= File.basename(File.expand_path(folder)) + '.tar.gz' puts "tar --gzip -czf #{to_file} #{folder}" end