shell script - add file to archive ?
I am currently doing some programing for a game. When I finish a section or programing, im sure you know, you compile it, then run the file. However in this case, the compiled file needs to be put in an archive, where it is then read by the game. I am currently doing this manually, opening ' file roller ', opening the archive, then adding the new files over the old ones, and then running the game to test the file.
However, there is a glitch. I have 3 differnt librarys that i am working on, that all need to be put in the same archive. I may change two librarys, and I dont want to add a file, manually, twice.
So I need a script that *just* adds a whole directory into an archive. ( I do need the directory, aswell as these files within the directory, to maintain file structure ).
I hope you can help me out with this. Many thanks in advance.
|