Add 7zip support

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

Add 7zip support

Postby brahman » Fri Feb 16, 2007 6:16 pm

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: 1671
Joined: Tue Sep 23, 2003 7:37 pm

Postby grigsoft » Fri Feb 16, 2007 6:42 pm

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

Postby brahman » Sat Feb 17, 2007 3:23 pm

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: 1671
Joined: Tue Sep 23, 2003 7:37 pm

Postby grigsoft » Mon Feb 19, 2007 11:00 am

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

Postby brahman » Tue Feb 20, 2007 10:15 am

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: 1671
Joined: Tue Sep 23, 2003 7:37 pm

Postby grigsoft » Tue Feb 20, 2007 10:31 am

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

Postby brahman » Tue Feb 20, 2007 12:17 pm

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: 1671
Joined: Tue Sep 23, 2003 7:37 pm

Postby grigsoft » Tue Feb 20, 2007 2:52 pm

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

Postby brahman » Tue Feb 20, 2007 10:48 pm

Your idea is excellent.

Archivers in SI folder works well.

Kind Regards,

Brahman

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

Postby brahman » Fri Feb 23, 2007 12:22 am

Password Protected 7Z Archives do not work.

Regards,

B

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

Postby grigsoft » Fri Feb 23, 2007 6:07 am

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

Postby EeOe » Sat Mar 10, 2007 1:06 pm

Cool. Thanks Igor. :D


Return to “Synchronize It! : beta”

Who is online

Users browsing this forum: No registered users and 1 guest