SourceFiles.org - Use the Source, Luke
Home | Register | News | Forums | Guide | MyLinks | Bookmark

Related Sites

Latest News
  General News
  Reviews
  Press Releases
  Software
  Hardware
  Security
  Tutorials
  Off Topic


Back to files

WHAT IS CUTTER?

Current version: 0.5.0beta3 for Linux 32bits i386 and more Current release date: Oct 9th 2002

CUTTER is a easy-to-use tool to cut/joint files totally written in pure C++ with cool and usefull class.
simply give it the size of each part and it will cut the file into small peaces.
CUTTER is more than a "split-like" utility. It add infos in every split-file which contain a CRC32 to control the integrity of them (because in a floppy, everything can happen; bad blocks, stranges errors).
It add symbolics size like "floppy", "zip" or "cd650" to easy cut a file (only 3 at this time, but it is only a beta release ;)

IMPORTANT!!!:
1/
Cutter create a shell script to rebuild the original file (in case of you don't have cutter in the target computer)
This shell use "dd" and the memory used is the size of one splitted file, so if this file is greater than 50Mo ... you should use "cutter -j" command instead. Else your system will be ... overloaded. "cutter -j" has not this problem (dd is stupid, it don't choose a well buffer size...contrary to cutter) so in this case USE "cutter -j" !!!!

2/
You cannot use "cat" command (or copy /b under Winblows) to joint files because every splitted file has specials informations in it (crc etc.) so if you do that, your target file will be corrupt! Use "cutter -j" to rebuild your file or the shell script created with the splitted files!

What you can do with this pre-version?

->Cut files and be sure that when they will be rebuild, they will be perfects, without errors (thanks CRC32) ->Joint files (of course)
->Get infos about splitted files
->create a shell script to rebuild the file if you don't have cutter is the target system.

Exemple

1/I want to cut a file named /tmp/bigone.iso to copy it in multiple zip100, so I do; cutter -s zip /tmp/bigone.iso

cutter will split it in the same directory the files will be named /tmp/bigone.iso.cutx (x is a number)

If you want copy parts in a different directory, do: cutter -s zip /tmp/bigone.iso /mynewdir

2/Copy them in some zip100...

3/Do you want infos about a splitted file??? hum.. simply do; cutter -i /tmp/bigone.iso.cut4 (for example) the result will be like that:

Infos found:
version:1
CRC32:11a0cf30
original file:titi.mpg
numer of parts:41
exe size:0 bytes
file size:1445640 bytes
os:Linux
cpu:i686
struct size:4360

note that important infos are: the number of splitted files and the name of the file which were cut.

4/Do you want to joint them??? simple.
copy them in the same directory and do: cutter -j bigone.iso.cutx (x is a number) note than the splitted file can be a random one because every part have infos about "how to rebuild the original big file", so...


Other Sites

Discussion Groups
  Beginners
  Distributions
  Networking / Security
  Software
  PDAs

About | FAQ | Privacy | Awards | Contact
Comments to the webmaster are welcome.
Copyright 2006 Sourcefiles.org All rights reserved.