--- a/pdumpfs.in.orig 2010-12-06 13:20:45.000000000 +0900 +++ b/pdumpfs.in 2010-12-06 13:51:06.000000000 +0900 @@ -48,7 +48,7 @@ # require 'find' -require 'ftools' +require 'fileutils' require 'getoptlong' require 'date' @@ -870,7 +870,7 @@ today = File.join(dest, datedir(start_time), base) File.umask(0077) - File.mkpath(today) unless @dry_run + FileUtils.mkpath(today) unless @dry_run if latest update_snapshot(src, latest, today) else @@ -1020,7 +1020,7 @@ case type when "directory" - File.mkpath(today) + FileUtils.mkpath(today) when "unchanged" File.force_link(latest, today) when "updated" @@ -1091,7 +1091,7 @@ case type when "directory" - File.mkpath(t) + FileUtils.mkpath(t) when "new_file" copy(s, t) when "symlink"