multipart archiver?

Miscellaneous tools
Post Reply
Message
Author
surgtech2006
Posts: 17
Joined: Wed 20 Aug 2014, 14:33

multipart archiver?

#1 Post by surgtech2006 »

Is there a multipart archiver available for puppylinux, preferably in ROX format? I am looking to upload some video files from my harddrive to storage and cant make large size uploads so I have a need for this. Im not seeing the ability to multipart in PackIt, XArchive etc..

User avatar
HoerMirAuf
Posts: 255
Joined: Tue 22 Jan 2008, 12:11
Location: Würzburg

#2 Post by HoerMirAuf »

[size=75][color=blue]Bionic64[/color][/size]

surgtech2006
Posts: 17
Joined: Wed 20 Aug 2014, 14:33

#3 Post by surgtech2006 »

HoerMirAuf wrote:Have a look at PeaZip:

http://peazip.sourceforge.net/peazip-linux.html
Thanks, I'll give it a try!

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#4 Post by musher0 »

Hi, surgtech2006.

In console,

first:
use "good old" zip to compress your entire video file,
Examples: http://www.linux-commands-examples.com/zip

then:
use zipsplit on the resulting zip archive to chop it into how many
parts you need.
Examples: http://linux-commands-examples.com/zipsplit

Those two executables are in every Puppy.

I hope this helps.

musher0
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

surgtech2006
Posts: 17
Joined: Wed 20 Aug 2014, 14:33

#5 Post by surgtech2006 »

musher0 wrote:Hi, surgtech2006.

In console,

first:
use "good old" zip to compress your entire video file,
Examples: http://www.linux-commands-examples.com/zip

then:
use zipsplit on the resulting zip archive to chop it into how many
parts you need.
Examples: http://linux-commands-examples.com/zipsplit

Those two executables are in every Puppy.

I hope this helps.

musher0
It seems it cant handle a file of this size.. (abt 1.3G) unless I'm doing something wrong.

Upon changing the size of the parts, I still get an error.

Code: Select all

# zipsplit -q -n 100000 allmans_vid.zip
zipsplit warning: Entry is larger than max split size of: 99978
zipsplit warning: use -n to set split size
zipsplit error: Entry too big to split, read, or write (20140321_223533.mp4)
# zipsplit -q -n 99978 allmans_vid.zip
zipsplit warning: Entry is larger than max split size of: 99956
zipsplit warning: use -n to set split size
zipsplit error: Entry too big to split, read, or write (20140321_223533.mp4)
# 
I'm pretty sure I'm off on my entry.. I am missing something, I'm sure. I just want it to do its thing inside the directory where the file resides, so I'm thinking not necesarry to specify output.

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#6 Post by musher0 »

Hi, surgtech2006.

Pitcher error... (my bad).

A couple of things may have brought up the error:
zipsplit handles only files up to 2Gb
As an exercise, I tried zip on a knoppix iso of 4Gb. It did it, but the disk
was always moaning because of swap file use, and I have 1.5Gb RAM.
Not enough RAM may cause an error with zip if you don't specify a
temp folder.

So... video files are already in a kind of compressed state, aren't they?
So let's try another, even simpler, route.

I got good results splitting my big knoppix iso with split -- not zipsplit.

Code: Select all

split -b 100M knoppix-7.3.iso knoppix-7.3_iso-
The swap file wasn't used with split (no moaning disk).

I believe that you should get good results too with:

Code: Select all

split -b 100M allmans.vid allmans_vid-
-b 100M is the desired size of the cut (100M means 100 MegaBytes)
allmans.vid, the file name
allmans_vid-, the filename for the cuts. If you don't use a filename
template for the cuts, the cuts will be named xaa, xab, xac, and so on.

As the file is cut, the parts will have the name
allmans_vid-aa, allmans_vid-ab, allmans_vid-ac, allmans_vid-ad, and so on.

To recreate the complete file from the cuts at the other end, use the
> cat < command, as in:

Code: Select all

cat part* > file
In your case:

Code: Select all

cat allmans_vid-* > allmans.vid
Ref.: http://superuser.com/questions/160364/w ... into-chunk

Keep me posted ?
Good luck! :)

musher0
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

surgtech2006
Posts: 17
Joined: Wed 20 Aug 2014, 14:33

#7 Post by surgtech2006 »

musher0 wrote:Hi, surgtech2006.

Pitcher error... (my bad).

A couple of things may have brought up the error:
zipsplit handles only files up to 2Gb
As an exercise, I tried zip on a knoppix iso of 4Gb. It did it, but the disk
was always moaning because of swap file use, and I have 1.5Gb RAM.
Not enough RAM may cause an error with zip if you don't specify a
temp folder.

So... video files are already in a kind of compressed state, aren't they?
So let's try another, even simpler, route.

I got good results splitting my big knoppix iso with split -- not zipsplit.

Code: Select all

split -b 100M knoppix-7.3.iso knoppix-7.3_iso-
The swap file wasn't used with split (no moaning disk).

I believe that you should get good results too with:

Code: Select all

split -b 100M allmans.vid allmans_vid-
-b 100M is the desired size of the cut (100M means 100 MegaBytes)
allmans.vid, the file name
allmans_vid-, the filename for the cuts. If you don't use a filename
template for the cuts, the cuts will be named xaa, xab, xac, and so on.

As the file is cut, the parts will have the name
allmans_vid-aa, allmans_vid-ab, allmans_vid-ac, allmans_vid-ad, and so on.

To recreate the complete file from the cuts at the other end, use the
> cat < command, as in:

Code: Select all

cat part* > file
In your case:

Code: Select all

cat allmans_vid-* > allmans.vid
Ref.: http://superuser.com/questions/160364/w ... into-chunk

Keep me posted ?
Good luck! :)

musher0
I will post back as soon as I get time to work on it, headed off to work early today.. hopefully tonight!

Post Reply