Aradağınız böyle birşey mi ben mi yanlış anladım acaba?
ftp://ftp.acadiau.ca/music/HINTS.TXT
Q: What is the difference between the PKZIP option -b and
the PKTMP= environment variable?
A: PKZIP creates two different types of temporary files, and allows
you to specify the location the location of these two types
separately. The two situations where PKZIP creates temp files
are:
* When a file is being compressed by PKZIP
* When an existing .ZIP file is being modified
When PKZIP is in the process of compressing a file, it might
need to create a temporary file to store information that does
not fit in memory. PKZIP will create these temporary files
in the directory pointed to by the PKTMP= environment variable,
or in the current directory if this variable is not present.
For example, the command:
set pktmp=d:\
will tell PKZIP to create these temporary files on the D:\ drive.
In general, you can get the best performance from PKZIP by having
PKTMP= point to a RAM disk or very fast disk in your system,
unless you are creating or updating a .ZIP file on a Novell network
drive (see the question regarding Netware support earlier in this
document).
When PKZIP updates an existing .ZIP file, it creates a new
temporary .ZIP file and copies files from the existing .ZIP file
or (re)compresses files into this new file. If the PKZIP process
were to be interrupted in any way, the original .ZIP file is still
intact.
Once the new .ZIP file is created, PKZIP deletes the old .ZIP file
and renames the new temporary .ZIP file to the original name.
This however requires that at least twice the size of the original
.ZIP file be free on the drive where the .ZIP file is. If say you
had a 400K .ZIP file on a 720K diskette, you will get an
"insufficient disk space" error when trying to modify this .ZIP
file, even if you only wanted to add one small file. The -b
option tells PKZIP to create the new temporary on a drive
different from where the original .ZIP file is located, and then
copy the new .ZIP file to the destination drive when done. For
example:
pkzip b:stuff *.bat -bc:
Tells PKZIP to add the files *.BAT to the file B:STUFF.ZIP, and
create the new temporary .ZIP file on drive C:. Using the -b
option slows down PKZIP, but allows you to update .ZIP files that
are larger than the available free space on a disk.
On 26.05.2011 13:55, Mucibirahman İLBUĞA wrote:
> Merhabalar,
> pkzip programı da unix kaynaklı diyerek buraya yazıyorum. Şimdiden özür...
>
> pkzip programını win üzerinde readonly bir dizin içindeyken
> çlıştırıyorum. Ancak tmp hatası veriyor. Biraz inceledim -bc:
> parametresinden bahsediliyor ama ben başaramadım. Sıkıştırma anında
> kullanması gereken takas dosyayı bulunduğu yer değil benim istediğim
> yerde oluşturmasını sağlayamıyor muyuz?
>
_______________________________________________
Linux E-Posta Listesi
[email protected]
Liste kurallari: http://liste.linux.org.tr/kurallar.php
Bu Listede neden bulunduğunuzu bilmiyorsanız veya artık bu listeden gelen
e-postaları almak istemiyorsanız aşağıdaki bağlantı adresini kullanarak 1
dakika içinde üyeliğinizi sonlandırabilirsiniz.
https://liste.linux.org.tr/mailman/listinfo/linux