|
Home > Archive > Linux OS Forum > May 2007 > How to create multipart rar archive in linux?
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
How to create multipart rar archive in linux?
|
|
| Ohmster 2007-05-06, 1:13 pm |
| I have Fedora Core 6 installed on my machine and would like to create a
multipart rar archive of a video file for Usenet posting. The video avi
file is about 700Mb so I would like rar to create 15Mb volumes that all
make one big archive like they do in the binary Usenet newsgroups.
I have done this many times with WinRAR but it ties up my machine and I
would rather just copy the file to the Linux box with samba, then create
the rar archive on the CLI because I have rar installed on my Fedora
machine but do not have a GUI interface for it. Once it is on the Linux
machine, I can then putty over to it and open a screen to do the work,
then check back on it later, or just open a term to do it on the machine
or exit gnome and do it. Either way works fine but I like to use screen
as then I can go back and reopen the screen session to check on it or
close it out when it is done from anywhere.
I have tried several times to accomplish this but nothing I have tried
works or does what I want for it to do. Yes I have "man rar" and I have
googled for examples but most of the google pages tell how to extract
files from rar, not how to create multipart rar archives. I can just run
rar at the CLI and get some very terse information but still cannot get
it to work. Here is the basic help I get when I run rar by itself:
-------------------------------------------------------------------------
----
RAR 3.20 Copyright (c) 1993-2003 Eugene Roshal 15 May 2003
Registered to
Usage: rar <command> -<switch 1> -<switch N> <archive> <files...>
<@listfiles...> <path_to_extract\>
<Commands>
a Add files to archive
c Add archive comment
cf Add files comment
cw Write archive comment to file
d Delete files from archive
e Extract files to current directory
f Freshen files in archive
i[par]=<str> Find string in archives
k Lock archive
l[t,b] List archive [technical, bare]
m[f] Move to archive [files only]
p Print file to stdout
r Repair archive
rc Reconstruct missing volumes
rn Rename archived files
rr[N] Add data recovery record
rv[N] Create recovery volumes
s[name|-] Convert archive to or from SFX
t Test archive files
u Update files in archive
v[t,b] Verbosely list archive [technical,bare]
x Extract files with full path
<Switches>
- Stop switches scanning
ad Append archive name to destination path
ag[format] Generate archive name using the current date
ap<path> Set path inside archive
as Synchronize archive contents
av Put authenticity verification (registered versions only)
av- Disable authenticity verification check
c- Disable comments show
cfg- Disable read configuration
cl Convert names to lower case
cu Convert names to upper case
df Delete files after archiving
dh Open shared files
ds Disable name sort for solid archive
e<attr> Set file exclude attributes
ed Do not add empty directories
en Do not put 'end of archive' block
ep Exclude paths from names
ep1 Exclude base directory from names
ep2 Expand paths to full
f Freshen files
hp[password] Encrypt both file data and headers
idp Disable percentage display
ierr Send all messages to stderr
ilog[name] Log errors to file (registered versions only)
inul Disable all messages
isnd Enable sound
k Lock archive
kb Keep broken extracted files
m<0..5> Set compression level (0-store...3-default...5-maximal)
mc<par> Set advanced compression parameters
md<size> Dictionary size in KB (64,128,256,512,1024,2048,4096 or
A-G)
ms[ext;ext] Specify file types to store
o+ Overwrite existing files
o- Do not overwrite existing files
ol Save symbolic links as the link instead of the file
ow Save or restore file owner and group
p[password] Set password
p- Do not query password
r Recurse subdirectories
r0 Recurse subdirectories for wildcard names only
rr[N] Add data recovery record
rv[N] Create recovery volumes
s[<N>,v[-],e] Create solid archive
s- Disable solid archiving
sfx[name] Create SFX archive
t Test files after archiving
ta<date> Process files modified after <date> in YYYYMMDDHHMMSS
format
tb<date> Process files modified before <date> in YYYYMMDDHHMMSS
format
tk Keep original archive time
tl Set archive time to latest file
tn<time> Process files newer than <time>
to<time> Process files older than <time>
ts<m,c,a>[N] Save or restore file time (modification, creation,
access)
u Update files
v Create volumes with size autodetection or list all
volumes
v<size>[k,b] Create volumes with size=<size>*1000 [*1024, *1]
ver[n] File version control
vn Use the old style volume naming scheme
vp Pause before each volume
w<path> Assign work directory
x<file> Exclude specified file
x@ Read file names to exclude from stdin
x@<list> Exclude files in specified list file
y Assume Yes on all queries
z<file> Read archive comment from file
-------------------------------------------------------------------------
----
Here is what happens when I try to do what I think will make the rar
archive, split into 15Mb chuncks as in:
GoodMovie.rar.rar
GoodMovie.rar.00
GoodMovie.rar.01
GoodMovie.rar.01
....etc.
[ohmster@ohmster post]$ rar a -v 15000 GoodMovie.rar *
RAR 3.20 Copyright (c) 1993-2003 Eugene Roshal 15 May 2003
Registered to
Cannot open GoodMovie.rar
Creating archive 15000.rar
Adding Really Terrific Movie - Part 1.avi 0%
User break
[ohmster@ohmster post]$
Well that for sure did not work, I did a Ctl-c to kill it.
Since I see no option to create an archive, I use the program "rar" with
command "a" to add files. Then I use the "-v" switch to tell it to create
chunks and follow it with the size I want "15000k" as in fifteen hundred
kilobyte chunks, meaning 15Mb. I then tell rar the name of the new
archive will be "GoodMovie.rar" and that it is to add everything in the
current directory to the new archive by using a wildcard, "*". In this
case, the only thing in the current directory is "Really Terrific Movie -
Part 1.avi".
[ohmster@ohmster post]$ ls -lh
total 702M
-rw-r--r-- 1 ohmster ohmster 701M May 6 12:44 Really Terrific Movie -
Part 1.avi
[ohmster@ohmster post]$
I have tried all kinds of variations on this, none of them just creates
the archive in 15Mb chunks the way I want, the way WinRAR does. In
WinRAR, I just right click the file, choose (rar icon) "add to
archive...", then WinRAR comes up and there is the filename with an rar
extension on it that you can change if you want and also a dropdown box
where you can choose a predetermined size such as "1,457.664 - 3.5" (For
a floppy disk I guess) or put your own like I do 15,000,000, then just
click the "OK" button and the process begins, easy as that. No mistakes,
works great.
....but this is Linux, and I want to do this in Linux, and I have to use
the command line with the right commands, switches, and parameters. Can
somebody please, please show me how to do this as I am pulling my hair
out with this one, cannot google for it (Since it is not free, not very
much information on how to use it other than getting files extracted.),
cannot get the gist of the man page or the rar help.
Take this file:
-rw-r--r-- 1 ohmster ohmster 701M May 6 12:44 Really Terrific Movie -
Part 1.avi
Create an rar file of it that is split into 15Mb chunks.
Someone please provide a working example. I am going nuts on this one.
Thank you.
--
~Ohmster
ohmster at ohmster dot com
Put "messageforohmster" in message body
(That is Message Body, not Subject!)
to pass my spam filter.
| |
|
| Ohmster wrote:
> I have Fedora Core 6 installed on my machine and would like to create a
> multipart rar archive of a video file for Usenet posting. The video avi
> file is about 700Mb so I would like rar to create 15Mb volumes that all
> make one big archive like they do in the binary Usenet newsgroups.
for tar files is that splitting on 100MB
"tar czvf - source | split -d -b 100m -"
for rar files check "rar --help"
--
EOS
www.photo-memories.be
Running KDE 3.5.6 / openSUSE 10.2
| |
| Ohmster 2007-05-06, 1:13 pm |
| EOS <heelstraf@hotmail.com> wrote in news:C1o%h.161281$pR.1052726
@phobos.telenet-ops.be:
> Ohmster wrote:
>
a[vbcol=seagreen]
avi[vbcol=seagreen]
all[vbcol=seagreen]
>
> for tar files is that splitting on 100MB
> "tar czvf - source | split -d -b 100m -"
>
> for rar files check "rar --help"
Thanks for the help EOS, but I cannot use tar as most Usenet binary
people do not have a Linux machine or even know what a tar file is. I
think that Winzip can open a tar file but that would really create
problems, I have to use rar.
What I posted was "rar --help", those are the commands and switches to
use with rar, I just cannot seem to get the results I want with it. I am
sure that it is quite possible to do and that some Linux guru will easily
understand the help output that I posted and be able to come up with
working command line syntax, for me the answer that I seek appears to be
quite elusive.
Either somebody in here knows how to do it because they have already done
so or can try it on their machine to see if the syntax that they come up
with will work, that is, if some kind soul is interested and will try to
help. I have done that for other newbies and others in here have really
rolled up their sleeves and have helped me out too.
I think it was that fellow that makes the weekly FAQ and stats for the
newsgroup, Michael Heiming, helped me out a lot back in the days when
installing nvidia drivers was not so easy as it is now with the nvidia
installer that is available for Linux downloads. Back then, you had to
download and compile a kernel module and with Redhat and rpm files, there
were no kernel headers on the system and you really needed that to build
the nvidia kernel module. Mike had another Linux machine at his house
that had Redhat on it with an nvidia card so the figured out how to use
rpm to use ftp to download, extract, and install the kernel headers with
rpm and then how to build and install the drivers. It was no "walk in the
park" but he did it and did a bang up job of it, for sure. I bet that one
post of his has probably been googled for and helped out a great many
other beginner Linux enthusiasts all over the world. That is the great
thing about Usenet and google, once you make a post, it gets archived and
if someone else is in the same mess as you are in, they can google for
and find the help that they need.
I still get emails from others that have had similar problems to mine,
the latest one was cifs and making mount work with samba shares on
Fedora. I kept getting a memory error and with the help of Steven French,
the guy who wrote the cifs module for Linux, eventually figured out that
it was not Linux that was the problem, it was the XP machine with the
shares. I tried to mount shares from a different XP machine and it worked
so then with a little follow up and more googling, we tracked it down to
a registry addition to the un-mountable samba share XP machine, that
allowed my samba shares to be mounted, finally. I answer all such
requests for help because I have been there and have been stuck like that
too.
Anyway, I will keep plugging away and maybe someone here can help figure
it out, thanks for trying.
--
~Ohmster
ohmster at ohmster dot com
Put "messageforohmster" in message body
(That is Message Body, not Subject!)
to pass my spam filter.
| |
| imotgm 2007-05-06, 1:13 pm |
| On Sun, 06 May 2007 19:05:19 +0200, Ohmster wrote:
> Take this file:
> -rw-r--r-- 1 ohmster ohmster 701M May 6 12:44 Really Terrific Movie -
> Part 1.avi
>
> Create an rar file of it that is split into 15Mb chunks.
>
> Someone please provide a working example. I am going nuts on this one.
> Thank you.
rar a -v15000k <good.movie.name>
This will create;
<good.movie.name>.part01.rar,
<good.movie.name>.part02.rar
<good.movie.name>.part03.rar
etc.
rar a -v15000k -vn <good.movie.name>
will create;
<good.movie.name>.rar
<good.movie.name>.r00
<good.movie.name>.r01
etc.
The individual files will be 14.6MB each, except the last, which will be
smaller. The command puts every file in the working directory into the
..rar files, so if you only want the movie rared, be sure it's the only
file in the working directory
--
imotgm
"Lost? Lost? I've never been lost... Been a tad confused for a
month or two, but never lost."
| |
| imotgm 2007-05-06, 7:13 pm |
| On Sun, 06 May 2007 19:50:29 +0200, Ohmster wrote:
> Either somebody in here knows how to do it because they have already done
> so or can try it on their machine to see if the syntax that they come up
> with will work, that is, if some kind soul is interested and will try to
> help. I have done that for other newbies and others in here have really
> rolled up their sleeves and have helped me out too.
Newbie, newbie, newbie.
Damn, I've wanted to do that to some regular for a long time. :D
> Anyway, I will keep plugging away and maybe someone here can help figure
> it out, thanks for trying.
See my other post. I just wanted to add;
rar t *part01.rar
will test the new .rar files for integrity. If the old style numbering is
used, .r00, .r01, the command is simply;
rar t *.rar
Have fun. ;)
--
imotgm
"Lost? Lost? I've never been lost... Been a tad confused for a
month or two, but never lost."
| |
| Steve Ackman 2007-05-06, 7:13 pm |
| In <Xns9928851FEBBB4MyBigKitty@194.177.96.26>, on Sun, 6 May 2007
19:05:19 +0200 (CEST), Ohmster wrote:
> Yes I have "man rar" and I have
> googled for examples but most of the google pages tell how to extract
> files from rar, not how to create multipart rar archives.
Have you looked at the included documenation?
> v<size>[k,b] Create volumes with size=<size>*1000 [*1024, *1]
Look for the part in the doc that corresponds with that.
There are examples.
> Can
> somebody please, please show me how to do this as I am pulling my hair
> out with this one, cannot google for it (Since it is not free, not very
> much information on how to use it other than getting files extracted.),
> cannot get the gist of the man page or the rar help.
The docfile is much more detailed than the man page.
It has everything you need.
> Someone please provide a working example. I am going nuts on this one.
$ locate rar.txt
You may come up with rar.txt.gz, but someone who's
been using Linux for as many years as you have should
certainly know how to read that. (Actually someone
who's been using Linux for so many years shouldn't need
to be told to use locate, or to look in /usr/share/doc
but hey...
| |
| Davorin Vlahovic 2007-05-06, 7:13 pm |
| On 2007-05-06, Ohmster <nowayin@hell.com> wrote:
> Thanks for the help EOS, but I cannot use tar as most Usenet binary
> people do not have a Linux machine or even know what a tar file is. I
> think that Winzip can open a tar file but that would really create
> problems, I have to use rar.
AFAIK, all win archive managers know how to use tar. WinZip, WinRar,
7zip, WinArj... can use tar because it's a very simple archive.
--
Najveca moc u fizici je moci staviti minus tamo gdje ti treba.
The greatest special power in physics is to be able to place the
minus sign where you need it.
| |
| Ohmster 2007-05-07, 1:16 am |
| imotgm <imotgmREM@notreally.yahoo.com> wrote in
news:pan.2007.05.06.18.00.21.397624@notreally.yahoo.com:
I really hope this works. Okay, here we go...
> rar a -v15000k <good.movie.name>
[ohmster@ohmster post]$ ls -la
total 718192
drwxr-xr-x 2 ohmster ohmster 135168 May 6 20:12 .
drwxr-xr-x 88 ohmster ftpsecure 4096 May 3 18:21 ..
-rw-r--r-- 1 ohmster ohmster 734556160 May 6 20:10 Really Terrific
Movie - Part 1.avi
[ohmster@ohmster post]$ rar a -v15000k "Really Terrific Movie - Part
1.avi"
RAR 3.20 Copyright (c) 1993-2003 Eugene Roshal 15 May 2003
Registered to
ERROR: Cannot modify volume[ohmster@ohmster post]$
That cannot work, not specifying the source, not even a wildcard here.
Trying it with a made up archive name like you said...
ERROR: Cannot modify volume[ohmster@ohmster post]$ rar a -v15000k
good.movie.name
RAR 3.20 Copyright (c) 1993-2003 Eugene Roshal 15 May 2003
Registered to
Creating archive good.movie.name
Adding Really Terrific Movie - Part 1.avi
Creating archive good.movie.name.part02.rar
.... Really Terrific Movie - Part 1.avi
User break
[ohmster@ohmster post]$ ls
good.movie.name.part01.rar Really Terrific Movie - Part 1.avi
[ohmster@ohmster post]$ ls -lh
total 716M
-rw-rw-r-- 1 ohmster ohmster 15M May 6 20:15 good.movie.name.part01.rar
-rw-r--r-- 1 ohmster ohmster 701M May 6 20:10 Really Terrific Movie -
Part 1.avi
[ohmster@ohmster post]$
Wow, it works! I did a Ctl-c to stop it and see what it was doing. By
George I think you've got it! Okay I am going to try the whole thing and
let you know how it goes.
> This will create;
> <good.movie.name>.part01.rar,
> <good.movie.name>.part02.rar
> <good.movie.name>.part03.rar
> etc.
>
> rar a -v15000k -vn <good.movie.name>
>
> will create;
> <good.movie.name>.rar
> <good.movie.name>.r00
> <good.movie.name>.r01
> etc.
>
> The individual files will be 14.6MB each, except the last, which will
be
> smaller. The command puts every file in the working directory into the
> .rar files, so if you only want the movie rared, be sure it's the only
> file in the working directory
Thank you so much. For some reason, I really got a brain lock on this one
and could not get past it man.
--
~Ohmster
ohmster at ohmster dot com
Put "messageforohmster" in message body
(That is Message Body, not Subject!)
to pass my spam filter.
| |
| Ohmster 2007-05-07, 1:16 am |
| imotgm <imotgmREM@notreally.yahoo.com> wrote in
news:pan.2007.05.06.18.16.10.25750@notreally.yahoo.com:
>
> Newbie, newbie, newbie.
Well, even you were a newbie at one time, we all start out that way. ;> )
> Damn, I've wanted to do that to some regular for a long time. :D
LOL!
>
> See my other post. I just wanted to add;
>
> rar t *part01.rar
>
> will test the new .rar files for integrity. If the old style numbering
> is used, .r00, .r01, the command is simply;
>
> rar t *.rar
>
> Have fun. ;)
It works, thank you so much dude. Saving this for posterity.
--
~Ohmster
ohmster at ohmster dot com
Put "messageforohmster" in message body
(That is Message Body, not Subject!)
to pass my spam filter.
| |
| Ohmster 2007-05-07, 1:16 am |
| Davorin Vlahovic <nrubA@ylf.krs.ref.rh> wrote in
news:slrnf3sc4j.3vk.nrubA@afrodita.home.lan:
> On 2007-05-06, Ohmster <nowayin@hell.com> wrote:
>
> AFAIK, all win archive managers know how to use tar. WinZip, WinRar,
> 7zip, WinArj... can use tar because it's a very simple archive.
>
Agreed, but then I will get a string of follow-ups like "What the hell is a
tar file and what do I do with it?" type stuff. Will just do the rar thing
and let it be done. Tar for sure is a very good way to get things done
though.
--
~Ohmster
ohmster at ohmster dot com
Put "messageforohmster" in message body
(That is Message Body, not Subject!)
to pass my spam filter.
| |
| Ohmster 2007-05-07, 1:16 am |
| Steve Ackman <steve@SNIP-THIS.twoloonscoffee.com> wrote in
news:slrnf3s76f.3f6.steve@sorceror.wizard.dyndns.org:
> In <Xns9928851FEBBB4MyBigKitty@194.177.96.26>, on Sun, 6 May 2007
> 19:05:19 +0200 (CEST), Ohmster wrote:
>
>
> Have you looked at the included documenation?
Uh, yeah.
Saw that part.
[vbcol=seagreen]
> Look for the part in the doc that corresponds with that.
> There are examples.
Did not see examples but sure did look for one that I needed.
very[vbcol=seagreen]
extracted.),[vbcol=seagreen]
>
> The docfile is much more detailed than the man page.
> It has everything you need.
Agreed.
>
> $ locate rar.txt
You know, I looked all over the freaking place for rar.txt and could not
find it for the world. I googled for it, found mentions of it, but could
not find the actual file. Used locate on my own machine for it and it was
nowhere to be found. Apparently, the version of rar that I had installed
did not even come with a man page for goodness sakes. I remember that,
way back when, and at that time, looked all over the place for a version
of rar that I could install that was complete. Not sure what happened
after that as it was a long time ago, dropped the ball or something came
up. I think I did find a better version though and used wget to snag it
as an rpm and installed it too. Let me look if I have that rpm still
around...
[ohmster@ohmster post]$ locate rar |grep rpm
[ohmster@ohmster post]$
No, apparently not. Dammit. ...ahhhhh, here it is!
[ohmster@ohmster post]$ su -
Password:
[root@ohmster ~]# locate rar |grep rpm
/root/rpms/rar-2.90-2.i686.rpm
[root@ohmster ~]#
I think I got the docs from there because the version of rar that I am
using is not 2.90-2.
[root@ohmster ~]# rar v
RAR 3.20 Copyright (c) 1993-2003 Eugene Roshal 15 May 2003
> You may come up with rar.txt.gz, but someone who's
> been using Linux for as many years as you have should
> certainly know how to read that. (Actually someone
> who's been using Linux for so many years shouldn't need
> to be told to use locate, or to look in /usr/share/doc
> but hey...
Yeah I do have that file on my system, NOW, anyways. :P
[ohmster@ohmster post]$ locate rar.txt
/home/ohmster/text/comp/rar.txt
/usr/doc/rar/rar.txt
/usr/share/doc/rar-2.90/rar.txt.gz
[ohmster@ohmster post]$
Wonder if it had the example I needed in it anyway? Let's have a look,
shall we?
[ohmster@ohmster post]$ less /usr/doc/rar/rar.txt
Certainly is comprehensive, for sure.
-isnd Enable sound. (Wonder what that is for?)
-v Create volumes with size autodetection or list all volumes
This switch may be used when creating or listing volumes.
[snip]
Example:
create archive in volumes of fixed size:
rar a -s -v1440 floparch.rar *.*
will create solid volumes of size 1440000 bytes.
Wonder what the "-s" is for?
-s Create solid archive. Solid is a special archive type. Please
refer to the appendix "Glossary" for further information.
Example:
create solid archive sources.rar with 512 KB dictionary,
recursing all directories, starting with the current
directory.
Add only .asm files:
rar a -s -md512 sources.rar *.asm -r
"Hmmm, create solid archive", as opposed to a broken or liquid one? <g>
Yep, there is is and there it was. Well, I asked for help and certainly
got it alright. Thank you all very much for helping out.
Cheers,
--
~Ohmster
ohmster at ohmster dot com
Put "messageforohmster" in message body
(That is Message Body, not Subject!)
to pass my spam filter.
| |
| Ohmster 2007-05-07, 1:16 am |
| Ohmster <nowayin@hell.com> wrote in news:Xns9928CE881D230MyBigKitty@
194.177.96.26:
> Wow, it works! I did a Ctl-c to stop it and see what it was doing. By
> George I think you've got it! Okay I am going to try the whole thing and
> let you know how it goes.
It worked perfectly. Thank you very much. 
--
~Ohmster
ohmster at ohmster dot com
Put "messageforohmster" in message body
(That is Message Body, not Subject!)
to pass my spam filter.
| |
| imotgm 2007-05-07, 7:14 am |
| On Mon, 07 May 2007 02:18:18 +0200, Ohmster wrote:
> Thank you so much. For some reason, I really got a brain lock on this one
> and could not get past it man.
Some rules;
Be in the working directory.
The last item in the command line is the name of the archive you are
creating.
You can use the name of the movie as the archive name, but leave off the
..avi, or .mpg. RAR will add the proper extensions.
You can leave the .avi, or .mpg, in the archive name, if you add ".rar" at
the end. Example... "A real movie name.avi.rar"
You need to put quotes around names with spaces.
If you put the archive name in quotes, without the .rar added, the archive
will not have the ,rar extension. It will still unpack properly, but will
look odd. I just made some that had the old naming style; the first had no
extension, and the rest had .a00, .a01, .a02 as the extensions. You could,
of course, use these on Usenet, just to rattle the newbies cages. (He
says, with an evil smirk) :D Expect serious flames from that move!
If you're going to post these through Usenet binary groups, remember to
also post adequate par2 volumes, for repairs.
--
imotgm
"Lost? Lost? I've never been lost... Been a tad confused for a
month or two, but never lost."
| |
| imotgm 2007-05-07, 7:14 am |
| On Mon, 07 May 2007 02:53:04 +0200, Ohmster wrote:
> Yep, there is is and there it was. Well, I asked for help and certainly
> got it alright. Thank you all very much for helping out.
Use this link to get the latest stable, or beta version of RAR. The d/l is
a .tar.gz archive, and contains the latest rar.txt, as well as the rar and
unrar apps.
http://www.rarlab.com/download.htm
The latest stable version is RAR 3.6.0, and is midway down the page. The
RAR 3.7.0-Beta is at the top.
--
imotgm
"Lost? Lost? I've never been lost... Been a tad confused for a
month or two, but never lost."
| |
|
| On 2007-05-07 02:57, Ohmster wrote:
> Ohmster <nowayin@hell.com> wrote in news:Xns9928CE881D230MyBigKitty@
> 194.177.96.26:
>
>
> It worked perfectly. Thank you very much. 
In case you publish this file as a torrent, it's just stupid to split it
in small parts, the torrent client will just eat more file handles.
The only thing I can think of now is 2GB since some file systems can't handle
bigger files.
Sending a big file over nntp is doomed, since the streamed feed is much more
then the bandwith for many servers, so most people get 95 parts of 100 as
best, and can't unrar it anyway.
And I was going to answer:
If the manual say
v<size>[k,b] Create volumes with size=<size>*1000 [*1024, *1]
It means -v15000 (no space)
But imotgm already solved that.
You also have 2 optional letters k and b
-v15000 is 15000000 bytes (default *1000),
while -15000b (*1) is 15000 bytes,
and -v15000k (*1024) is 15000 Kbytes
If you will have 15Mbytes, you should use -v15360k
m and g don't exist, so we can figure out that rar has been
here since the time where this was unthinkable.
/birre
| |
| Ohmster 2007-05-08, 1:15 am |
| birre <spamtrap@norsborg.net> wrote in
news:f1nlh7$q4r$1@news.al.sw.ericsson.se:
>
> In case you publish this file as a torrent, it's just stupid to split
> it in small parts, the torrent client will just eat more file handles.
No, no torrents. I am "not into torrents". Not for any particular reason
other than I have not had a need to become intimately familiar with them.
Have great success with eMule and Usenet. I would not put multipart stuff
on a torrent feed anyhow, it is just plain dumb. :P
> The only thing I can think of now is 2GB since some file systems can't
> handle bigger files.
>
> Sending a big file over nntp is doomed, since the streamed feed is
> much more then the bandwith for many servers, so most people get 95
> parts of 100 as best, and can't unrar it anyway.
For sure. The accepted and unisversal method seems to be multipart rar
with par2 recovery sets. This method really does work quite well. Easy
for me to get what I want, easy enough for others that would take a few
minutes to read the FAQ how to do it. Very rarely do I fail to get what I
need when a decent multipart rar archive is posted, along with the par2
set. QuickPar for Windows is what I use. A Linux version would be
bitching but I don't think that there is one. Shame. Let's double check
that:
http://www.quickpar.org.uk/
Not looking good for Linux users there buddy. par2 have a great advantage
over par files and rar can create par files. Only need the required
amount of blocks to repair a damaged archive file, so If you get 48/49
parts of an archive file, it is ruined. But I choose to download broken
files anyway and a few par2 files, or really just a small one of the
right size would fix that right up. Instead of downloading an entire 15Mb
par file to fix a broken archive file of 1,448Kb. Nice stuff that
QuickPar. Now if only...
....oh shit, looks like there is a par2 file maker for Linux! Lookie here:
http://parchive.sourceforge.net/
Seems promising. No rpms probably though. Ahhh, I can handle a tarball or
two if they are not like building Slackware from straight tarballs. 
Gotta love SourceForge, huh? I swear if I ever get setup decent
finacially, that is one organization that will be getting some serious
donations from me. They deserve the shit out of it. Going to have to
experiment with Parchive. Goes right into my list of things to do. I got
all the raring done with a screen in a putty window, and then had to use
QuickPar in a samba window. Now does that suck or what?
> And I was going to answer:
>
> If the manual say
> v<size>[k,b] Create volumes with size=<size>*1000 [*1024, *1]
>
> It means -v15000 (no space)
> But imotgm already solved that.
>
> You also have 2 optional letters k and b
>
> -v15000 is 15000000 bytes (default *1000),
> while -15000b (*1) is 15000 bytes,
> and -v15000k (*1024) is 15000 Kbytes
>
> If you will have 15Mbytes, you should use -v15360k
>
> m and g don't exist, so we can figure out that rar has been
> here since the time where this was unthinkable.
>
> /birre
>
Yep, got the size thing down pretty pat now, birre. Thanks. Hey, how come
you want to use 15360k instead of 15000k? To make proper 1024 bit memory
chunks? Just curious.
--
~Ohmster
ohmster at ohmster dot com
Put "messageforohmster" in message body
(That is Message Body, not Subject!)
to pass my spam filter.
| |
| Ohmster 2007-05-08, 1:15 am |
| imotgm <imotgmREM@notreally.yahoo.com> wrote in
news:pan.2007.05.07.08.10.31.570684@notreally.yahoo.com:
>
>
> Some rules;
I'm all ears.
> Be in the working directory.
Roger that.
> The last item in the command line is the name of the archive you are
> creating.
"Good to know" (Says Angelina Jolie, "Lisa" in "Girl, Interrupted", as
Valerie Owens, RN, takes the pen away from neck her as she threatens to
"Jam this into my aorta!" and advises her that her aorta is in her
chest.)
> You can use the name of the movie as the archive name, but leave off
> the .avi, or .mpg. RAR will add the proper extensions.
Alrighty then.
> You can leave the .avi, or .mpg, in the archive name, if you add
> ".rar" at the end. Example... "A real movie name.avi.rar"
Roger that.
> You need to put quotes around names with spaces.
Goes without saying by now.
> If you put the archive name in quotes, without the .rar added, the
> archive will not have the ,rar extension. It will still unpack
> properly, but will look odd. I just made some that had the old naming
> style; the first had no extension, and the rest had .a00, .a01, .a02
> as the extensions. You could, of course, use these on Usenet, just to
> rattle the newbies cages. (He says, with an evil smirk) :D Expect
> serious flames from that move!
Heh! I remember those days. Yep, that might just throw the newbies into a
tussle. They get all bent when they post over a Gigabyte of unkown movie
and the newsgroup wants a thumbnail contact sheet.
> If you're going to post these through Usenet binary groups, remember
> to also post adequate par2 volumes, for repairs.
Wouldn't even *think* about not including parity volumes for restoration.
I still remember the days before even par came out with mirror.exe, all
day long was "Please repost part 28", "Part 27 damaged on my server,
please repost", "Parts 42-45 all damaged, please repost". Man that par
stuff really did put an end to all of that. Such a deal! I can still
remember how amazed I was that a single parity file could reproduce ANY
damaged archive file. If that was the case, how come I could not just
download a single parity file, then copy it over 5 times and name the
copies sequentially upward, and how come that would not work. I tried it
of course and no, it did not work.
Nice chatting with you. Take care, imotgm.
--
~Ohmster
ohmster at ohmster dot com
Put "messageforohmster" in message body
(That is Message Body, not Subject!)
to pass my spam filter.
| |
| Ohmster 2007-05-08, 1:15 am |
| imotgm <imotgmREM@notreally.yahoo.com> wrote in
news:pan.2007.05.07.09.18.34.900099@notreally.yahoo.com:
>
> Use this link to get the latest stable, or beta version of RAR. The
> d/l is a .tar.gz archive, and contains the latest rar.txt, as well as
> the rar and unrar apps.
>
> http://www.rarlab.com/download.htm
>
> The latest stable version is RAR 3.6.0, and is midway down the page.
> The RAR 3.7.0-Beta is at the top.
Ugh, trial license only. I got money problems right now that make the
average Ethiopian look like the Sultans of Swing. I will have to keep what
I have for now, pretty much have what I need anyway. With an rpm based
distro like Fedora, it is nice to try and add software via rpm if at all
possible. I know that sometimes the software is not available that way and
I have built a tarball or two in my day, but I avoid them when possible,
just trying to survive and keep the house under my ownership and not the
banks pretty much takes up every waking hour of the day but for maybe 1 day
per weekend. Sad, isn't it? 
But that shows how much time I have for tarballs. Tarballs and rpms do not
mix very well on an rpm distro. Yeah sure, the programs work and all, but
they are not aware of each other and this leads to dependency problems that
don't exist, makes upgrades not so easy anymore, etc. The rpm package
manager does it's thing pretty well, I try to allow it to maintain control
of the system packages.
I do believe that the actual rar binary I got from somebody else as mine is
registered. I just installed the package to get the docs and then overwrote
the binary files with my own registered ones. Yeah I know this is not a
cool thing to do and I am skirting the licensing issue that way but it is a
jungle out there man, at least for me, for now, it is. Downright scary.
Better times are ahead, they just *have* to be!
--
~Ohmster
ohmster at ohmster dot com
Put "messageforohmster" in message body
(That is Message Body, not Subject!)
to pass my spam filter.
| |
| imotgm 2007-05-08, 1:15 am |
| On Tue, 08 May 2007 03:36:25 +0200, Ohmster wrote:
> imotgm <imotgmREM@notreally.yahoo.com> wrote in
> news:pan.2007.05.07.09.18.34.900099@notreally.yahoo.com:
>
>
> Ugh, trial license only. I got money problems right now that make the
> average Ethiopian look like the Sultans of Swing. I will have to keep what
> I have for now, pretty much have what I need anyway. With an rpm based
> distro like Fedora, it is nice to try and add software via rpm if at all
> possible. I know that sometimes the software is not available that way and
> I have built a tarball or two in my day, but I avoid them when possible,
> just trying to survive and keep the house under my ownership and not the
> banks pretty much takes up every waking hour of the day but for maybe 1 day
> per weekend. Sad, isn't it? 
I extracted the contents of the .tar.gz, which revealed it to be binaries
of the rar and unrar apps, along with the documentation and an
installation script, in the form of a make file. I then ran it through
checkinstall, which created an RPM package and installed from that, so rar
is now listed in the RPM database of my SUSE installation.
> But that shows how much time I have for tarballs. Tarballs and rpms do
> not mix very well on an rpm distro. Yeah sure, the programs work and
> all, but they are not aware of each other and this leads to dependency
> problems that don't exist, makes upgrades not so easy anymore, etc. The
> rpm package manager does it's thing pretty well, I try to allow it to
> maintain control of the system packages.
See above.
> I do believe that the actual rar binary I got from somebody else as mine is
> registered. I just installed the package to get the docs and then overwrote
> the binary files with my own registered ones. Yeah I know this is not a
> cool thing to do and I am skirting the licensing issue that way but it is a
> jungle out there man, at least for me, for now, it is. Downright scary.
> Better times are ahead, they just *have* to be!
I've been saying that for twenty years, and they haven't come yet. That's
scary! :P
From the RAR documents;
WinRAR, RAR for Unix, DOS and OS X now use the same registration key
format, so you can use the same key with current WinRAR and RAR versions
for all mentioned platforms. It is not guaranteed for WinRAR and RAR
versions that are not equal to version included to this distributive. For
example, versions prior to 2.60 used different keys.
If you are using version 3.2.x the registration key should still be valid
on 3.6.0. It will probably stay valid until a 4.0.0 release. You are
allowed to update.
--
imotgm
"Lost? Lost? I've never been lost... Been a tad confused for a
month or two, but never lost."
| |
| imotgm 2007-05-08, 7:15 am |
| On Tue, 08 May 2007 02:36:47 +0200, Ohmster wrote:
> ...oh shit, looks like there is a par2 file maker for Linux! Lookie here:
> http://parchive.sourceforge.net/
Par2cmdline for Linux. ;)
> Seems promising. No rpms probably though. Ahhh, I can handle a tarball or
> two if they are not like building Slackware from straight tarballs. 
First install checkinstall. Unpack the tarball, cd to the build
directory, then do "./configure, make," su to root, and "checkinstall"
instead of "make install". That will get you a pretty home made RPM
package that you can then install, to keep your RPM database happy.
If you have problems compiling par2cmdline, (it's not always up to date
with the present compilers) I have an RPM that installs to /usr/local/bin,
same as the tarball, that I can send you, as an attachment, if you give me
a real e-mail addy. It can be a yahoo or gmail spam-trap, or one of the
above set up for just receiving this item. I originally compiled this one
on a Mandrake 10.1 installation, but I've used it without issue on SUSE,
from 9.1 through 10.2, Slackware, Mandriva, and PCLinuxOS.
Or... Pick a low traffic binary group, and I can RAR it up and post it for
you.
First try the checkinstall route. It's good experience, and you'll learn
some good stuff. If that fails, then get back to me, and we'll work out
how to get you mine.
--
imotgm
"Lost? Lost? I've never been lost... Been a tad confused for a
month or two, but never lost."
| |
|
| On 2007-05-08 02:36, Ohmster wrote:
> ....
> Yep, got the size thing down pretty pat now, birre. Thanks. Hey, how come
> you want to use 15360k instead of 15000k? To make proper 1024 bit memory
> chunks? Just curious.
>
echo '15 * 1024' | bc
15360
1 Meg is 1024*1024 not 1000*1024 :-)
Only the Meg and Gig on unformatted disks are based on 1000 , so
an unformatted disk sold to you as 300GB will have only 279 GB
after format, and not even all of this will be avail for use.
I still not believe in sending large files to news servers.
Well, for you as a user of an nntpserver, it's no problem other
then you can find replies to articles that don't exist, but
since I was newsmaster until I gave up, I know the problem with
hundreds of Gigabyte binary posts every day, incoming on the same
network connection we also use for important things.
At first, news was just going by itself, but in the end it was to much work
with spam, warez, porn , cross postings , and you name it, I was just to much
junk and to little value.
By the way, I never download a rar or zip from an unknown sender whatever they
claim as the contents , if you once download a big rar , and unpack it, just
to find that the contents was another rar, + some info where to find the
password, you will understand why. :-/
/birre
| |
| Ohmster 2007-05-13, 7:15 am |
| birre <spamtrap@norsborg.net> wrote in
news:f1pg0p$mv6$1@news.al.sw.ericsson.se:
> echo '15 * 1024' | bc
> 15360
>
> 1 Meg is 1024*1024 not 1000*1024 :-)
>
> Only the Meg and Gig on unformatted disks are based on 1000 , so
> an unformatted disk sold to you as 300GB will have only 279 GB
> after format, and not even all of this will be avail for use.
Hmmm.
> I still not believe in sending large files to news servers.
> Well, for you as a user of an nntpserver, it's no problem other
> then you can find replies to articles that don't exist, but
> since I was newsmaster until I gave up, I know the problem with
> hundreds of Gigabyte binary posts every day, incoming on the same
> network connection we also use for important things.
Yeah, that is why I subscribe to giganews. That is their main business
and they are agressive about it. They constantly upgrade their bandwidth
and offer more to the subscribers, often as total freebies.
> At first, news was just going by itself, but in the end it was to much
> work with spam, warez, porn , cross postings , and you name it, I was
> just to much junk and to little value.
Agreed. Usenet sure has changed a lot. Much of it is spam, crossposted
crap, and downright malware.
> By the way, I never download a rar or zip from an unknown sender
> whatever they claim as the contents , if you once download a big rar ,
> and unpack it, just to find that the contents was another rar, + some
> info where to find the password, you will understand why. :-/
Been there, done that. Worked like hell to get a flick that I really
wanted, huge download, sometimes have to resort to eMule or some other
P2P, and when it finally gets here, you get another rar that is password
protected with "instructions" on how to get the password. Ususally visit
at least 3 other smut sites, sign up for "free" trial memberships (To be
verified with a credit card of course), the URL to the sites contains
referral ID so the dickwad gets credit. Read the forth like in the 5
paragraph on the page, etc. Forget it.
Another is a huge download and you end up with a DRM wmv file and then
have to get a license. Immediate deletion. I only grab that stuff from
known regulars now and have had very little problems with it.
> /birre
>
Cheers,
--
~Ohmster
ohmster at ohmster dot com
Put "messageforohmster" in message body
(That is Message Body, not Subject!)
to pass my spam filter.
| |
| Ohmster 2007-05-13, 7:15 am |
| imotgm <imotgmREM@notreally.yahoo.com> wrote in
news:pan.2007.05.08.06.18.22.130903@notreally.yahoo.com:
[...]
> Or... Pick a low traffic binary group, and I can RAR it up and post it
> for you.
>
> First try the checkinstall route. It's good experience, and you'll
> learn some good stuff. If that fails, then get back to me, and we'll
> work out how to get you mine.
>
When I get around to this, I will try it. Saving this post to reply to as
your emal addy is obviously a fake. My email in my sig will work though.
Thanks for the tip and the offer, imotgm.
--
~Ohmster
ohmster at ohmster dot com
Put "messageforohmster" in message body
(That is Message Body, not Subject!)
to pass my spam filter.
| |
| imotgm 2007-05-13, 7:16 pm |
| On Sun, 13 May 2007 09:37:45 +0200, Ohmster wrote:
> When I get around to this, I will try it. Saving this post to reply to as
> your emal addy is obviously a fake. My email in my sig will work though.
> Thanks for the tip and the offer, imotgm.
Actually, with the obvious modifications/removals, it is a real addy, and
I check it two or three times daily. (mailing lists and bug report replies)
If you run into problems with any of this, just start a new thread about
that particular problem. More than likely I'll just see it and respond,
but also feel free to send me a heads up, to point me to it, if it sits a
while, and I don't. ;) I'd rather do most of this kind of stuff here on
the group, where it can also help others as well.
Oh! You're welcome. (My nanny-gramma told me, a long time ago, I should
say that to people that were considerate enough to say "thank you".) :D
--
imotgm
"Lost? Lost? I've never been lost... Been a tad confused for a
month or two, but never lost."
| |
| Michael Hearne 2007-05-17, 7:15 am |
| Ohmster wrote:
> EOS <heelstraf@hotmail.com> wrote in news:C1o%h.161281$pR.1052726
> @phobos.telenet-ops.be:
>
> a
> avi
> all
[vbcol=seagreen]
> <Snip>
> Anyway, I will keep plugging away and maybe someone here can help figure
> it out, thanks for trying.
On Windows machines, I have been using IZarc for about 8 years. It works
with just about every archive that I can think of. Here is the link to
the download page:
http://www.izarc.org/download.html
The program is free, although there is advertising interspersed on the
page. It integrates with your right-click menu, and you get options like
"extract here". "extract to:" , etc.
Since I usually download Windows drivers on a Linux machine, it comes in
very handy, since I don't have a connection at work.
It's free, and I hope this helps. It does have a GUI, like WinZip and
WinRar, but using the right-click menu means you don't have to use the GUI.
As for creating multi-part archives, I think you will have to use the
GUI, but not to recombine or extract them.
Michael
|
|
|
|
|