Question how to split an existing rar file from the command line

Oct 22, 2019
2
0
10
0
I need to take an existing rar and split it into 50Mb pieces. Creating the orginal with -v50M isn't an option.
After the file is created it's given a secure random gen name. If it's created with -v then all the chunks have different names since the random generator is called after the rar process is done and will cycle through all *.rar files and give them a random name. So I'll have 10 pieces of one file all with different names.

That's why I need to split the original file. I've already simply re-rared the original file with the -v50M switch but when you decompress you have the original rar in a subfolder that still needs to be decompressed.

If I could just split the original rar it would be more elegant and especially useful for restoring the data content. I think it's possible as I remember reading somewhere about doing it with the GUI, but this is part of a script so I need CLI.

Thanks In Advance TIA
 
Oct 22, 2019
2
0
10
0
how is that different from raring the original file. When you unrar you end up with the files in the rar. Now I'm at the original starting point with the script renaming all the parts a different name.

I believe the solution will be to embed the (pwgen 26 1) code into the commnad line rather than figuring out how to split the file.
 
Thread starter Similar threads Forum Replies Date
G Apps General Discussion 1
monkeylovlov Apps General Discussion 1
J Apps General Discussion 1
V Apps General Discussion 1
S Apps General Discussion 3
F Apps General Discussion 2
D Apps General Discussion 2
S Apps General Discussion 1
T Apps General Discussion 4
G Apps General Discussion 0
S Apps General Discussion 1
R Apps General Discussion 2
viveknayyar007 Apps General Discussion 0
viveknayyar007 Apps General Discussion 0
Flappers67 Apps General Discussion 3
K Apps General Discussion 8
MajinCry Apps General Discussion 5
J Apps General Discussion 3
M Apps General Discussion 3
M Apps General Discussion 4

ASK THE COMMUNITY