3 $LOAD_PATH.unshift File.expand_path(File.dirname(__FILE__) + '/../lib')
4 $LOAD_PATH.unshift File.expand_path(File.dirname(__FILE__) + '/../app/models')
14 site = Site.find('mmdbowl')
16 for number in 745..1045
19 unless File.exist?(bowl.src_path)
20 puts "PASS: src #{code} not found"
24 next if bowl.removed? || bowl.denied?
27 summary = bowl.summary
29 date = '01/01/01(Mon),00:00:00'
30 origname = bowl.origname
33 arc = site.create_arc(name, summary, size, date, origname, locked)
34 unless File.exist?(bowl.arc_path)
35 puts "PASS: arc #{code} not found"
39 arc.create_entries("/Volumes/uploader/arc/#{site.code}/#{name}") unless locked