zipfromlist command doesn't work

English support forum

Moderators: white, Hacker, petermad, Stefan2

User avatar
Clo
Moderator
Moderator
Posts: 5731
Joined: 2003-12-02, 19:01 UTC
Location: Bordeaux, France
Contact:

Always the containers---

Post by *Clo »

2Boofo

:) Again…

• It seems that by design we get always the mirror of the original structure…
- I tested from a single directory and its sub-directory- in order to avoid duplicates from several sources in a ZIP archive
which would contain only files (that's a Paul's thought, I guess he's right…).
- So, to make a updated backup - always with the structure, whatever option you have as ticked previously
in the Pack dialogue - simply delete the old ZIP and press the button does the trick !

:mrgreen: KR
Claude
Clo
#31505 Traducteur Français de TC French translator Aide en Français Tutoriels Français English Tutorials
User avatar
Boofo
Power Member
Power Member
Posts: 1431
Joined: 2003-02-11, 00:29 UTC
Location: Des Moines, IA (USA)
Contact:

Post by *Boofo »

Sure, deleting the old ZIP is fine but a setting for Overwriting All Files would be better, don't you think? ;)
chmod a+x /bin/laden -- Allows anyone the permission to execute /bin/laden

How do I un-overwrite all my data?

User of Total Commander
#60471 Single user license
User avatar
Clo
Moderator
Moderator
Posts: 5731
Joined: 2003-12-02, 19:01 UTC
Location: Bordeaux, France
Contact:

And with switches ?

Post by *Clo »

2Boofo

:) Well, that should be faster, i.e. whether the parameter could support some switches :
ZIPFROMLIST Path\blah_blah.zip /switch
- As “switch” we could have :
O=Overwrite the old ZIP (is it that you mean ?)
F=Pack files only without dir. containers (when we are sure that no duplicate name exists in the list)… And so on…

:mrgreen: KR
Claude
Clo
#31505 Traducteur Français de TC French translator Aide en Français Tutoriels Français English Tutorials
User avatar
ts4242
Power Member
Power Member
Posts: 2081
Joined: 2004-02-02, 20:08 UTC
Contact:

Re: Two¦three causes

Post by *ts4242 »

2Clo

:) Hello!
Clo wrote:and also like Boofo points out above,
the URL\ first line is not a file and must be removed.
URL\ is a folder name, there is no need at all to remove it, zipfromlist works OK with such entry as far as the names saved ANSI
Clo wrote:- Moreover, I assume that each line must show the file-name with its path, or else how TC could find them ?
If the full path not present, TC adds the path of the active panel to the file name.
User avatar
Boofo
Power Member
Power Member
Posts: 1431
Joined: 2003-02-11, 00:29 UTC
Location: Des Moines, IA (USA)
Contact:

Post by *Boofo »

2Clo,

Yes, those would be good additions. The Overwrite All switch overwrites the files inside the ZIP.
chmod a+x /bin/laden -- Allows anyone the permission to execute /bin/laden

How do I un-overwrite all my data?

User of Total Commander
#60471 Single user license
User avatar
Clo
Moderator
Moderator
Posts: 5731
Joined: 2003-12-02, 19:01 UTC
Location: Bordeaux, France
Contact:

Random

Post by *Clo »

2ts4242

:) Again…

• In fact, the first line is *url\ and this Unicode upper dot can't be shown here, so I write a red asterix instead…
If it means "All files in that dir.", I guess that it might have wildcards \*.*
- Last point : Using the active panel path as default when there is none is rather random… :P

:mrgreen: KR
Claude
Clo
#31505 Traducteur Français de TC French translator Aide en Français Tutoriels Français English Tutorials
User avatar
ts4242
Power Member
Power Member
Posts: 2081
Joined: 2004-02-02, 20:08 UTC
Contact:

Re: Random

Post by *ts4242 »

2Clo

:) Hello!
Clo wrote:Using the active panel path as default when there is none is rather random… :P
zipfromlist doesn't support environment variable, So using names without path is useful to use the same file names list with different folders, just go to that folder and execute zipfromlist
User avatar
eugensyl
Power Member
Power Member
Posts: 564
Joined: 2004-06-03, 18:27 UTC
Location: România
Contact:

Post by *eugensyl »

ts4242 wrote:2eugensyl

I think the problem is that, the file names (test.txt) saved as Unicode!
You have to save it using ANSI encoding.
I have tried on other computer and IT'S WORK!

I think this was the problem and this kind of trouble must be write in help file and ZIPFROMLIST add as internal command (maybe with parameters) together with OPENTABS, APPENDTABS, OPENBAR, etc.


2ts4242
Please don't forget to add ZipUnicode setting in Ultra TC Editor (Configuration).

Thank you very much, all of you for your patience.
My Best Wishes,

Eugen
User avatar
ts4242
Power Member
Power Member
Posts: 2081
Joined: 2004-02-02, 20:08 UTC
Contact:

Post by *ts4242 »

eugensyl wrote:2ts4242
Please don't forget to add ZipUnicode setting in Ultra TC Editor (Configuration).
It is already there, just download the latest version
User avatar
eugensyl
Power Member
Power Member
Posts: 564
Joined: 2004-06-03, 18:27 UTC
Location: România
Contact:

Post by *eugensyl »

ts4242 wrote:
eugensyl wrote:2ts4242
Please don't forget to add ZipUnicode setting in Ultra TC Editor (Configuration).
It is already there, just download the latest version
Thank you!
My Best Wishes,

Eugen
User avatar
Boofo
Power Member
Power Member
Posts: 1431
Joined: 2003-02-11, 00:29 UTC
Location: Des Moines, IA (USA)
Contact:

Post by *Boofo »

Again, is there any way to have ZIPFROMLIST automatically overwrite the files without having to select it first?
chmod a+x /bin/laden -- Allows anyone the permission to execute /bin/laden

How do I un-overwrite all my data?

User of Total Commander
#60471 Single user license
User avatar
ZoSTeR
Power Member
Power Member
Posts: 1013
Joined: 2004-07-29, 11:00 UTC

Post by *ZoSTeR »

Why don't you use 7-Zip? It has an update switch with fine granularity.
User avatar
Boofo
Power Member
Power Member
Posts: 1431
Joined: 2003-02-11, 00:29 UTC
Location: Des Moines, IA (USA)
Contact:

Post by *Boofo »

I've never really messed with 7-Zip. I was hoping to not have to install a third party program to accomplish what ZIMFROMLIST does if I can get it to overwrite the files.
chmod a+x /bin/laden -- Allows anyone the permission to execute /bin/laden

How do I un-overwrite all my data?

User of Total Commander
#60471 Single user license
User avatar
Balderstrom
Power Member
Power Member
Posts: 2148
Joined: 2005-10-11, 10:10 UTC

Post by *Balderstrom »

I prefer WinRAR, though I haven't looked at 7Zip in a year or two. The last time I did it's interface and features and shell integration weren't even comparable. The general small gain in compression size of 7Zip isn't worth the memory usage and time required to get it.
*BLINK* TC9 Added WM_COPYDATA and WM_USER queries for scripting.
User avatar
Boofo
Power Member
Power Member
Posts: 1431
Joined: 2003-02-11, 00:29 UTC
Location: Des Moines, IA (USA)
Contact:

Post by *Boofo »

I have WinRAR installed so I could use that if I was better at the command line stuff with it. I use the GUI.

ZIPFROMLIST has some good possibilities if it would have some parameters with it.
chmod a+x /bin/laden -- Allows anyone the permission to execute /bin/laden

How do I un-overwrite all my data?

User of Total Commander
#60471 Single user license
Post Reply