Add 7zip support

Discussion of new Synchronize It! version.
Post Reply
brahman
Posts: 180
Joined: Thu Jan 11, 2007 6:18 pm

Add 7zip support

Post by brahman »

Hi Igor,

I have another request. Should be easy ... :)

Can you add the open source 7zip compression support (read/write) to your programs? It is becoming more and more the standard. All mozilla distributions f.e. are packed by it.

I think you only need to add the open source file and support it in your archive file, right?

Zip's compression really doesn't cut it any more.

Thanks.

B

grigsoft
Site Admin
Posts: 1673
Joined: Tue Sep 23, 2003 7:37 pm
Contact:

Post by grigsoft »

It's possible to support any external archiver with command line tool - I think I have already created 7z support, I will search for configuration.

brahman
Posts: 180
Joined: Thu Jan 11, 2007 6:18 pm

Post by brahman »

That would be great, thank you.

Why not include the library and config in your distribution? Then you could advertise SI as supporting 7zip archives.

I think it would be a good selling point.

Ciao,

B

grigsoft
Site Admin
Posts: 1673
Joined: Tue Sep 23, 2003 7:37 pm
Contact:

Post by grigsoft »

It doesn't use library - SynchronizeIt can use any archive with command line tools. Currently configuration is only available through special file: wndsync.arc. You should already have it.
Add following section:

Code: Select all

[7zip]
ext=7z
p=J:\Program Files\7-Zip\7za.exe 
u=J:\Program Files\7-Zip\7za.exe
list=%u l -r %A
lstart=------
lend=------
lformat=yy-mm-dd|hh:mm:ss|X|L|X|N!
add=%p a -r %A %F
delete=%p d %A %F
get=%u e -y %A %F
and

Code: Select all

7z=7Zip
under [Ext] section.

Also, you better get latest build from http://www.grigsoft.com/wndsyncb.zip - I did some changes to support it correctly.

brahman
Posts: 180
Joined: Thu Jan 11, 2007 6:18 pm

Post by brahman »

Thank you.

May I suggest to start a "Tips & Tricks" Forum, where you can collect the tips you give.

I think it would add a lot of value to your users visiting this forum.

They can inform themselves quickly about these gems of wisdom which you give out how to use your programs.

It can also assist you in collecting items that you eventually want to add to an updated help file in your next version.

This advice of yours re. 7zip should definitely be copied into such a thread.

Kind Regards,

Brahman

grigsoft
Site Admin
Posts: 1673
Joined: Tue Sep 23, 2003 7:37 pm
Contact:

Post by grigsoft »

Thank you, may be I will create such forum section. But does it work after all? :)

brahman
Posts: 180
Joined: Thu Jan 11, 2007 6:18 pm

Post by brahman »

Yes works fine.

Thank you.

Do you have any idea, when I use SI on an USB stick, how to write the paths to the packer programs when drive letters are changing?

Kind Regards,

Brahman

grigsoft
Site Admin
Posts: 1673
Joined: Tue Sep 23, 2003 7:37 pm
Contact:

Post by grigsoft »

If you have archiver in the folder with wndsync.exe, try skipping path completely. It should work - if it wont, I can fix this. Also, you have pushed me to idea of some %:\path syntax, so I could replace % with drive letter of the drive where wndsync.exe is.
This can be used in archivers, tools, even in sessions - to keep backup folder on flash.

brahman
Posts: 180
Joined: Thu Jan 11, 2007 6:18 pm

Post by brahman »

Your idea is excellent.

Archivers in SI folder works well.

Kind Regards,

Brahman

brahman
Posts: 180
Joined: Thu Jan 11, 2007 6:18 pm

Post by brahman »

Password Protected 7Z Archives do not work.

Regards,

B

grigsoft
Site Admin
Posts: 1673
Joined: Tue Sep 23, 2003 7:37 pm
Contact:

Post by grigsoft »

That's true - you can change command line in wndsync.arc to work with same password allways, and it should work.

EeOe
Posts: 79
Joined: Tue May 23, 2006 6:41 pm

Post by EeOe »

Cool. Thanks Igor. :D

Post Reply