From: Peter Marks Date: 2007-10-30T16:05:22+09:00 Subject: Re: Zip an existing directory? 7stud -- wrote: > 7stud -- wrote: >>> There's another way, but I don't remember what it is. >> >> >> Try this: >> >> Dir.chdir("/Users/petermarks/Desktop/orbus/public/1/daily") >> system("zip -r zipped_rails_app ./2007-10-29") > > Whoops. Too late. You were by no means too late. I was unaware that there was a ruby command to change the directory like that. Exactly what I needed. Thank you both :) -- Posted via http://www.ruby-forum.com/.