P
Peter Marks
Hello,
I am trying to zip an existing directory using the following code:
system("zip /Users/petermarks/Desktop/orbus/public/1/daily/2007-10-29")
but get this error:
zip error: Nothing to do!
(/Users/petermarks/Desktop/orbus/public/1/daily/2007-10-29.zip)
I've seen some tutorials for archiving using the rubyzip gem, but they
all involve manually moving files into an archive instead of archiving
an existing directory. I'm assuming rubyzip is overkill for this?
Thanks,
Peter
I am trying to zip an existing directory using the following code:
system("zip /Users/petermarks/Desktop/orbus/public/1/daily/2007-10-29")
but get this error:
zip error: Nothing to do!
(/Users/petermarks/Desktop/orbus/public/1/daily/2007-10-29.zip)
I've seen some tutorials for archiving using the rubyzip gem, but they
all involve manually moving files into an archive instead of archiving
an existing directory. I'm assuming rubyzip is overkill for this?
Thanks,
Peter