Hollosi Information eXchange /HIX/
HIX GURU 5024
Copyright (C) HIX
2009-02-27
Új cikk beküldése (a cikk tartalma az író felelőssége)
Megrendelés Lemondás
1 re: re: re: arj-kerdes (mind)  10 sor     (cikkei)
2 Re: re: re: arj-kerdes, GURU #5023 (mind)  82 sor     (cikkei)

+ - re: re: re: arj-kerdes (mind) VÁLASZ  Feladó: (cikkei)

>
> > arj32 a .arj archivalnikivantfile.neve -h#
>
> Ennek ugy megorultem, aztan hamar kiderult, hogy "invalid switch -h#".
>
mert nem a regi arj, hanem egy valamivel ujabb valtozat ( arj32 32
bites, jol kezeli a hosszu fileneveket, tobb okossag van benne mint a
regiben). Ezt nem emeltem ki, bocsanat!

Udv.:ML.
+ - Re: re: re: arj-kerdes, GURU #5023 (mind) VÁLASZ  Feladó: (cikkei)

Hello Gerbera!

Irod:
> Koszonom a valaszokat.
> > arj32 a .arj archivalnikivantfile.neve -h#
> Ennek ugy megorultem, aztan hamar kiderult, hogy
> "invalid switch -h#".
> Egyebkent megoldottam maskent:
> arj a fajl fajl
> set d=%date%
> ren fajl.arj fajl%d%arj
>
> A vegeredmeny: fajl2009.02.25.arj
> Miert nem muxik nekem a -h#? Azt latom, hogy az nem sima switch,
> hanem shifted switch. Viszont nem talalom, hogy mas volna a
> szintaktikaja.
> Udv: gerbera

A 90-es évek elejen rengeteget foglalkoztam a peces tomoritok
hasznalataval, par konyvet is elkovettem e temaban, sot emlekeim
szerint az ARJ programrol en irtam eloszor Magyarorszagon. Igy nemileg
erintettnek erzem magam.

Korabbi leveleid sajnos nem jutottak el hozzam, mivel az utobbi 20-30
GURU valami miatt kimaradt, es csak most kezdem visszanezni az
elmaradtakat. A problemad mindenesetre erdekes. Utananeztem, mit lehet
talalni az altalad vegul kialakitott, es a kivanalmaidnak megfeleloen
mukodo tobblepcsos megoldason kivul.

Az elso dolgom az volt, hogy utananeztem az ARJSoftware oldalan
( http://www.arjsoftware.com/files.htm ), mi a legfrissebb valtozat:
ARJ 2.85 (http://mysite.verizon.net/vze3nqpn/files/arj285.exe)
volt a 16 bites es
ARJ32 3.15 (http://mysite.verizon.net/vze3nqpn/files/arj32v315.exe)
a 32 bites telepitocsomag verzioszama.
Mindketto 2009 februar 8-an lett osszecsomagolva.

Ezek leirasaban a kovetkezoket talalod a -h# kapcsolorol:

 h#: append current date/time string

The "-h#" switch sets ARJ to append the current date string in
the form YYMMDD to the current archive name while keeping the
file extension the same.

The "-h#1" switch sets ARJ to append the current time string in
the form HHMMSS to the current archive name while keeping the
file extension the same.

The "-h#2" switch sets ARJ to append the current date-time
string in the form DHHMMSS to the current archive name while
keeping the file extension the same.  In a ten day period, this
option can be used to generate unique archive names.

Examples:  ARJ a XX -h# *.c    creates archive name XX931209.ARJ
           ARJ a YY -h#1       creates archive name YY123000.ARJ
           ARJ a Y -h#2        creates archive name Y8123000.ARJ

This function does NO checking for exceeding the proper filename
length.  There are no options for rearranging the date/time
formats.

This feature has been modified to use only the last two digits
of the year.  So the year 2010 will be represented by "10".
This will still provide "uniqueness" for filename generation.
Daily created archives will not collide name-wise for 100 years.

****

Amikor kiadtam az "arj32 a kaQkk-X * -h#" prancsot, akkor a program
egy "kaQkk-X090226.ARJ" nevu fajlt keszitett, minden tovabbi nelkul,
es a 16 bites is hasonloan viselkedett. Kiadva ugyanott az
"arj a kaQkk * -h#" parancsot, egy "kaQkk090226.ARJ" fajlt hozott
letre. Te melyik ARJ kiadassal dolgoztal? Lehet, hogy valamilyen
regebbi vagy megpatkolt progival. Probalkozz az ujakkal, ha meg van
kedved foglalkozni a dologgal.

Sok sikert a munkadhoz,
Gabor
-- 
dr. Nagy Gabor
mailto:

AGYKONTROLL ALLAT AUTO AZSIA BUDAPEST CODER DOSZ FELVIDEK FILM FILOZOFIA FORUM GURU HANG HIPHOP HIRDETES HIRMONDO HIXDVD HUDOM HUNGARY JATEK KEP KONYHA KONYV KORNYESZ KUKKER KULTURA LINUX MAGELLAN MAHAL MOBIL MOKA MOZAIK NARANCS NARANCS1 NY NYELV OTTHON OTTHONKA PARA RANDI REJTVENY SCM SPORT SZABAD SZALON TANC TIPP TUDOMANY UK UTAZAS UTLEVEL VITA WEBMESTER WINDOWS