Total SQX 1.10 (packer plug-in)

Discuss and announce Total Commander plugins, addons and other useful tools here, both their usage and their development.

Moderators: Hacker, petermad, Stefan2, white

Post Reply
Postkutscher
Power Member
Power Member
Posts: 556
Joined: 2006-04-01, 00:11 UTC

Post by *Postkutscher »

Thanks to the author for the good plugin.I have begun to use it a few time ago and I like it more and more.

//OT 2TychoBarfy Could you please contact me(A.Postkutscher(at)gmx(dot)net)) or Alexey Plotnikov aka Plotn.
Leider funktionieren private Nachrichten in diesen Foren nicht.:oops::cry:
User avatar
AlleyKat
Senior Member
Senior Member
Posts: 203
Joined: 2003-06-15, 10:51 UTC
Location: for personal info, see wiki
Contact:

Post by *AlleyKat »

Lefteous > I think you by accident got some of the first post messed up, the requirements are gone... :)
Translate your favorite Mozilla Extension ~ Your Language Is Important Too.
#tcmd on irc.freenode.net - the place to idle
User avatar
Lefteous
Power Member
Power Member
Posts: 9536
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

2AlleyKat
Thanks for the hint. I have updated the first post.
Hammillian7
Member
Member
Posts: 107
Joined: 2003-07-16, 22:40 UTC
Location: Spain

Subdir timestamp restoring

Post by *Hammillian7 »

Hi, Lefteous:

Looking for a satisfactory way of backing up and restoring file trees, I'm beginning to take contact with your promising packer plugin. It's reduced me a randomly chosen bunch of files to ¡1/6! its size!

One requirement of mine is that it preserves file and subdir timestamps (and, if possible, the 3 kinds: modification, creation and access).

I've seen that it allows to preserve directory timestamps, if configured, but it doesn't restore them.

Can it do it with any configuration option that I've overseen?.

If not, once you have bothered to store that info, wouldn't you add timestamp restoring to complete the job? (currently, I'm working in a (very simple) zip packer for my own use and I'm seeing that it's quite easy to offer it, at least on W2k).

Thanks.
User avatar
Lefteous
Power Member
Power Member
Posts: 9536
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

2Hammillian7
Hi,

Timestamps of directories are only saved if the "store extended date stamp" option is set. When this option is checked the directory timestamps should be stored correctly.

I can confirm that directory timestamp restoring currently doesn't work. I will investigate what the problem is.
User avatar
Hacker
Moderator
Moderator
Posts: 13141
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Post by *Hacker »

[mod]Merged Subdir timestamp restoring thread.

Hacker (Moderator)[/mod]
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
Hammillian7
Member
Member
Posts: 107
Joined: 2003-07-16, 22:40 UTC
Location: Spain

Sorry: what does this mean?

Post by *Hammillian7 »

2Hacker:

Excuse me: does your moderation mean that there's another thread where my msg should have been posted? If so, the presence here is because I'm refering to the Subdir timestamp restoring with this particular plugin.

Thanks.
icfu
Power Member
Power Member
Posts: 6052
Joined: 2003-09-10, 18:33 UTC

Post by *icfu »

Nope, the moderation means that you have opened a new thread for something that belongs in the thread which you are now reading.

Obviously you haven't pressed REPLY when posting but NEW TOPIC...

Icfu
This account is for sale
Hammillian7
Member
Member
Posts: 107
Joined: 2003-07-16, 22:40 UTC
Location: Spain

Right moderation

Post by *Hammillian7 »

Yes, you're right, sorry and thanks.
User avatar
Lefteous
Power Member
Power Member
Posts: 9536
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

2Hammillian7
I have investigated the problem. The problem is that it's TC which creates the directories when unpacking. Unfortunately TC currently doesn't provide a list of created directories.
I can try to find a workaround but I cannot promise anything. Even if it's possible it's definitely not an easy change.
Hammillian7
Member
Member
Posts: 107
Joined: 2003-07-16, 22:40 UTC
Location: Spain

TC doesn't call the packer plugin to unpack subdirs

Post by *Hammillian7 »

2Lefteus:

[quote="Lefteous"]2Hammillian7
... The problem is that it's TC which creates the directories when unpacking. Unfortunately TC currently doesn't provide a list of created directories...

You're right. Now, I remember: the easy thing is to update the date, and to get the preserved dir dates; I had forgotten: the difficult thing is to know which subdirs to update:

I do it in my packer plugin this way: after updating each file dates, I update all its parent subdirs dates, taking them from the packed dirs dates. But, up to where? up to the root dir? NO!: up to the shortest common path (from file up) between the packed file and the destination file.

I do it after unpacking each file, even at the risk of repeating it a lot (it's very little time consuming), in case there's some error in the middle which aborts the whole operation before reaching the ending phase, when I could otherwise update all used dirs just once each. Moreover, this way, I avoid myself having to organize the set of subdirs contained in file paths.

I encourage you to try, but I'd understand if you don't.

Thanks anyway!.
User avatar
tbeu
Power Member
Power Member
Posts: 1354
Joined: 2003-07-04, 07:52 UTC
Location: Germany
Contact:

Post by *tbeu »

Hi Lefteous,

can you please confirm: It is not possible to use environment variables for parameter DefaultFolder in TotalSQX.ini which get properly expanded at the target system.

tbeu
TC plugins: Autodesk 3ds Max / Inventor / Revit Preview, FileInDir, ImageMetaData (JPG Comment/EXIF/IPTC/XMP), MATLAB MAT-file Viewer, Mover, SetFolderDate, Solid Edge Preview, Zip2Zero and more
User avatar
Lefteous
Power Member
Power Member
Posts: 9536
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

2tbeu
please confirm
Confirmed
User avatar
roentgen
Power Member
Power Member
Posts: 757
Joined: 2005-12-03, 19:58 UTC

Post by *roentgen »

2Lefteous
With TC7b2 I get this error when trying to Configure the plugin or just trying to pack a file:

Code: Select all

---------------------------
Total Commander
---------------------------
Access violation at address 01971D20. Read of address 00000000.
Please report this error to the Author,
with a description of what you were doing when this error occurred!
Continue execution?
---------------------------
Yes   No   
---------------------------
I've reinstalled the plugin to no avail. I can't see any good reason why it fails so I can't give any more details.
In TC6 still works as expected.

edit:
Upon doing a Search for *.sqx/Feed to listbox/Press Enter on a sqx archive another error pops in:

Code: Select all

---------------------------
Error
---------------------------
Error in packer plugin "sqx" reading the file
"[path]\file.sqx" !
Please report this error to the plugin author!

The reported error is:
Access violation at address 02371D20. Read of address 00000000
---------------------------
OK   
---------------------------
The archive is good as I tried a second time with no error. Also I can't reproduce it, it only happened one time.
TC for Linux please!
User avatar
Lefteous
Power Member
Power Member
Posts: 9536
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

2roentgen666
- Do you use ini file redirection? If yes tell me the related values please.
- Please tell me the value of the LanguageIni setting in your Wincmd.ini?
- Where is your Wincmd.ini located and where is this information stored?
Post Reply