From: 7stud -- Date: 2009-02-23T13:49:50+09:00 Subject: Re: ruby nooby anthony wrote: > 1. Create folders for each platform in some arbitrary location, if the > folders already exist then gracefully move on. > File.exist?() Dir.mkdir() > 2. Copy data image files by extension into the appropriate newly created > folders. > require 'fileutils' FileUtils::cp(src, dest, {:verbose => true, :preserve => true}) > 3. Sort the files that now exist in the newly created folders by date, > preferably by month. Dir.glob() Enumerable#sort_by File.new() File#mtime -- Posted via http://www.ruby-forum.com/.