4
1
I like 7-zip and I needed it's command line today. I bumped into a problem.
Is there a way to specify a path within archive when compressing?
For example I have a file at C:\some_dir\my_file.txt
.
When compressing I want to specify destination path to be \other_dir\my_file.txt
within archive.
Is this possible? This seems like fairly common thing to do.
I ran into a similar program recently and wondered... can it really be that the CLI doesn't support this? As far as I understood it, the GUI is just a front-end for the CLI... or isn't it? – Tobias Plutat – 2011-01-27T11:59:00.927
The GUI might be taking the same approach, just using temp files... I know for the case of 7zip, the GUI can do this, while the CLI can not. That is to say, the GUI can directly rename and move files inside an archive. – Jeremy Sturdivant – 2011-01-27T12:03:31.387
I believe that both CLI and GUI use the same library rather than GUI talking to cli. – Kugel – 2011-01-27T12:06:54.193
@Kugel, that sounds very likely. Alas, it's a shame. – Tobias Plutat – 2011-01-27T12:08:43.223