2007-07-25から1日間の記事一覧
sce_path = /home/hoge tgt_path = /home/fuga Dir::glob(src_path + "/*").each {|f| # fにはフルパスが入る if (FileTest.file?(f) == false) then next end if (FileTest.exist?(tgt_path + "/" + File::basename(f)) == true) then next end FileUtils.c…