Update files in zip file from subfolder in same folder as zip file, using commandline (or other) Thread poster: Samuel Murray
| Samuel Murray Netherlands Local time: 02:39 Member (2006) English to Afrikaans + ...
Hello everyone I'm using Windows 7. I'm translating xlf.xlz files in OmegaT, but since OmegaT can't unzip and re-sup the files itself, I have to unzip the xlf.xlz files first, translate them, and then update the original xlf.xlz file with the update content. This is fine if it's just one or two files (I use 7-zip's GUI), but I now have a job with 1000 such files. So, for example, I have an archive named e.g. "abc.xlf.xlz", and inside the archive are two fi... See more Hello everyone I'm using Windows 7. I'm translating xlf.xlz files in OmegaT, but since OmegaT can't unzip and re-sup the files itself, I have to unzip the xlf.xlz files first, translate them, and then update the original xlf.xlz file with the update content. This is fine if it's just one or two files (I use 7-zip's GUI), but I now have a job with 1000 such files. So, for example, I have an archive named e.g. "abc.xlf.xlz", and inside the archive are two files named content.xlf and original.skl. I've unzipped the files in the archive to a subfolder called "abc.xlf". The archive abc.xlf.xlz and the subfolder "abc.xlf" are siblings, i.e. they're both in the same parent folder (and inside the subfolder "abc.xlf" are two files, named content.xlf and original.skl). After I've edited the file content.xlf in OmegaT, I want to add the new version of content.xlf into the original zip file abc.xlf.xlz. Do you know of a zip program with a commandline option that would allow for that? I do not want to create a new zip file. I need to update the original zip file. The new version of content.xlf must overwrite the old version of content.xlf inside abc.xlf.xlz. Thanks Samuel == Added: It doesn't have to be commandline. If you know of a GUI program that will allow me to do this *and* process multiple such tasks in one go, i.e. without having to perform the operation separately for each zip file, then I'd be happy to hear about it.
[Edited at 2017-09-06 06:12 GMT] ▲ Collapse | | | Otha Nash United States Local time: 20:39 Arabic to English + ... | Samuel Murray Netherlands Local time: 02:39 Member (2006) English to Afrikaans + ... TOPIC STARTER Can't do it with 7-zip | Sep 5, 2017 |
Otha Nash wrote: 7-Zip has a command line version. Yes, thanks, but what is the syntax to achieve what I'm trying to achieve? | | | CafeTran Training (X) Netherlands Local time: 02:39
|
|
Samuel Murray Netherlands Local time: 02:39 Member (2006) English to Afrikaans + ... TOPIC STARTER
I'm sure it's probably either -f or -u, but I need to know what is the syntax (i.e. how should I specify the paths to get the desired result). I do not want a zip file with a folder inside it with the same name as the zip file itself. | | | To report site rules violations or get help, contact a site moderator: You can also contact site staff by submitting a support request » Update files in zip file from subfolder in same folder as zip file, using commandline (or other) Trados Business Manager Lite | Create customer quotes and invoices from within Trados Studio
Trados Business Manager Lite helps to simplify and speed up some of the daily tasks, such as invoicing and reporting, associated with running your freelance translation business.
More info » |
| TM-Town | Manage your TMs and Terms ... and boost your translation business
Are you ready for something fresh in the industry? TM-Town is a unique new site for you -- the freelance translator -- to store, manage and share translation memories (TMs) and glossaries...and potentially meet new clients on the basis of your prior work.
More info » |
|
| | | | X Sign in to your ProZ.com account... | | | | | |