lib/advance.rb in advance-0.4.10 vs lib/advance.rb in advance-0.4.11
- old
+ new
@@ -124,9 +124,14 @@
if previous_dir_path =~ /\.tgz$/
do_command_wo_log "tar xzf #{previous_dir_path}"
end
previous_dir_path = previous_dir_path.gsub(/\.tgz$/, "")
start_time = Time.now
+
+ puts "#{GRAY}storage summary"
+ system('df -h .')
+ puts "---------#{RESET}"
+
send(processing_mode, command, previous_dir_path, dir_name)
file_count = count_files(dir_name)
duration = Time.now - start_time
update_meta($step, processing_mode, label, command, start_time, duration, file_count)
end