View Single Post
Old 01-02-2010, 06:28 AM   #10
rogue_ronin
Banned
rogue_ronin has learned how to read e-booksrogue_ronin has learned how to read e-booksrogue_ronin has learned how to read e-booksrogue_ronin has learned how to read e-booksrogue_ronin has learned how to read e-booksrogue_ronin has learned how to read e-booksrogue_ronin has learned how to read e-books
 
Posts: 475
Karma: 796
Join Date: Sep 2008
Location: Honolulu
Device: Nokia 770 (fbreader)
I spent an hour or two yesterday trying to figure out how to store a set of files using zip so that the relative path would be correct, and so that it wouldn't store the full path.

-j definitely killed all the directory info; never could find a way to tell zip to store the path info starting from a given directory. Is there such a trick?

I finally had to write a macro that would generate a batch file that would cd to the proper directory and run the zip commands from there.

I'm doing this on a virtual machine of Win2k, although I generally use Linux; the world's greatest text editor requires Windows, sadly...

m a r
rogue_ronin is offline   Reply With Quote