Re: Can not use 7za to compress directory

  • From: ccpaging <ccpaging@xxxxxxxxx>
  • To: emelfm2@xxxxxxxxxxxxx
  • Date: Tue, 27 Mar 2012 15:53:41 +0800

It seems  the object file name can not be as same as directory name. I do
not know why.
==========================
7za a -t7z images.7z images

7-Zip (A) 9.20  Copyright (c) 1999-2010 Igor Pavlov  2010-11-18
p7zip Version 9.20 (locale=zh_CN.utf8,Utf16=on,HugeFiles=on,2 CPUs)

Error: images.7z is not supported archive

System error:


2012/3/27 Kyrill Detinov <lazy.kent@xxxxxxxxxxxx>

>
> On Tue, 27 Mar 2012 11:45:28 +0800 ccpaging wrote:
>
> > sh>7za a -t7z -so "images" > "images.7z" (2997) return '2'
>
> Confirmed.
>
> > //            "7za a -t7z %s %%f", adds to any existing archive
> >               ">7za a -t7z -so %%f > %s",     //CHECKME
>
> Why don't we use "7za a -t7z %s %%f" ?
>
> --
> WBR
>  Kyrill
>
>
> --
> Users can unsubscribe from the list by sending email to
> emelfm2-request@xxxxxxxxxxxxx with 'unsubscribe' in the subject field or
> by logging into the web interface.
>

Other related posts: