On Sat, Nov 7, 2009 at 10:19 AM, Newb Newb <revathy.p / angleritech.com> wrote:
> Topic: How can i go about thisi want to move the folders which is older
> than 2 days from the current date.

Look at the docs for File#mtime and the Dir class, that should help:

http://ruby-doc.org/core/classes/File.html#M002548
http://ruby-doc.org/core/classes/Dir.html

-- 
http://citizen428.net | http://twitter.com/citizen428