Topic: How can i go about thisi want to move the folders which is older
than 2 days from the current date.
how can i go for the implementation.
my folder structure is d:/MoveFiles/2009-10-31/g.html
Any helps on this
···
--
Posted via http://www.ruby-forum.com/.
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
···
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.
--
http://citizen428.net | http://twitter.com/citizen428