RAR
RAR
Ako cez RAR pod FreeBSD zbalim komplet adresar vratane podadresarov a vsetkych suborov? Pretoze ak davam rar a nazov.rar, tak mi to zoberie len subory v roote a nikdy nie podadresare a ich subory. Pozeral som niekolkokrat manual a nemozem sa k tomu dopatrat. A ako dokazem este rozdelit velky archiv na viacej casti napriklad po 200 mega? Dakujem.
Re: RAR
Neviem, preco ti to neberie aj podadresare a subory v nich, pretoze u mna to ide. Pouzivam rar 3.8 non-free. Som to aj skusal teraz prikazom:test napísal:Ako cez RAR pod FreeBSD zbalim komplet adresar vratane podadresarov a vsetkych suborov? Pretoze ak davam rar a nazov.rar, tak mi to zoberie len subory v roote a nikdy nie podadresare a ich subory. Pozeral som niekolkokrat manual a nemozem sa k tomu dopatrat. A ako dokazem este rozdelit velky archiv na viacej casti napriklad po 200 mega? Dakujem.
Kód: Vybrať všetko
rar a nazov.rar co_zbalitKód: Vybrať všetko
rar a -v100M -m0 nazov.rar co_zbalit-v100M - delit archiv po 100MB, v pripade kB treba dat -v100k atd
-m0 - bez kompresie, ide to az po -m5 , kedy je najvyssia, teda ked chces len rozdelit nieco, tak pouzit -m0
osobne tam nevidim absolutne ziadny problem
Kód: Vybrať všetko
[krasko@moniqa:ttyp3]:~ % uname -a
FreeBSD moniqa.krasko.sk 7.0-RELEASE FreeBSD 7.0-RELEASE #3: Mon Oct 27 18:52:18 CET 2008 [email protected]:/usr/obj/usr/src/sys/kernelconf i386
[krasko@moniqa:ttyp3]:~ %
[krasko@moniqa:ttyp3]:~ % mkdir test
[krasko@moniqa:ttyp3]:~ % cd test/
[krasko@moniqa:ttyp3]:~/test % touch test1
[krasko@moniqa:ttyp3]:~/test % touch test2
[krasko@moniqa:ttyp3]:~/test % touch test3
[krasko@moniqa:ttyp3]:~/test % touch test4
[krasko@moniqa:ttyp3]:~/test % touch test5
[krasko@moniqa:ttyp3]:~/test % cd
[krasko@moniqa:ttyp3]:~ % ls
test/
[krasko@moniqa:ttyp3]:~ % find test/
test/
test/test1
test/test2
test/test3
test/test4
test/test5
[krasko@moniqa:ttyp3]:~ % rar a test.rar test/
RAR 3.80 Copyright (c) 1993-2008 Alexander Roshal 16 Sep 2008
Shareware version Type RAR -? for help
Evaluation copy. Please register.
Creating archive test.rar
Adding test/test1 OK
Adding test/test2 OK
Adding test/test3 OK
Adding test/test4 OK
Adding test/test5 OK
Done
[krasko@moniqa:ttyp3]:~ % mkdir test1
[krasko@moniqa:ttyp3]:~ % mv test.rar test1/
[krasko@moniqa:ttyp3]:~/test1 % rar x test.rar
RAR 3.80 Copyright (c) 1993-2008 Alexander Roshal 16 Sep 2008
Shareware version Type RAR -? for help
Extracting from test.rar
Creating test OK
Extracting test/test1 OK
Extracting test/test2 OK
Extracting test/test3 OK
Extracting test/test4 OK
Extracting test/test5 OK
All OK
[krasko@moniqa:ttyp3]:~/test1 %
[krasko@moniqa:ttyp3]:~/test1 % ls
test/ test.rar
[krasko@moniqa:ttyp3]:~/test1 % ls test/
test1 test2 test3 test4 test5
[krasko@moniqa:ttyp3]:~/test1 %