UGU Unix Guru Universe
For Unix Admins, By Unix Admins
Follow ugucom on Twitter      Search  in 
Home
BEGINNERS & USERS

Events

Internet
 
 Linux
BEGINNERS & USERS
Software
Linux Vendors
Usenet NewsGroups
Books & Publications
 
 Shop
Cool Admin Gifts!
Gadgets
T-Shirts
Books
 
 Unix Guru Universe
About
Add Link
Feedback
 
 
UGU: Unix Guru Universe - archive2iso - Home : Software : PROJECTS : System Info : pget : get : archive2iso
archive2iso

WHY THIS IS HERE

It all started when I was looking for a way to store my precious images and "MKISOFS" didn't support an --include-list option, and it kind of blew up from there with the help of Jason Hancock and his CDiso.pm module.

archive2iso takes a directory tree and randomizes the files in the tree to stripe the files across several ISO files that can be archived or burned off to a CD.

The intended use is to stripe files across multiple CD/DVD randomly so if one disc is damaged all the images that were in the same directory will not be lost since files are spread across multiple disks. The actual files themselves are not split, all files remain in their original state.

An example of an intended use is where you have a series of valuable vacation photos that could span 6 CD for all your photos in your collection. archive2iso would spread them out across the 6 CD's so if 1 of the 6 cd's is lost, you only loose 1/6th of your images. Which is better than loosing all of them!


SYNTAX: ./archive2iso

EXAMPLE:

    Enter Directory: /absolute/path
    
    - Files to archive     = 910
    - Estimated total Size = 632 MB
    
    Enter Max megabyte Size for the ISO/CD/DVD (1-4700): 100
    
    - Estimated Num Disks  = 7
    
    /usr/tmp/disk_1.iso - 139 files at 99.6 MB
    /usr/tmp/disk_2.iso - 128 files at 99.8 MB
    /usr/tmp/disk_3.iso - 144 files at 99.9 MB
    /usr/tmp/disk_4.iso - 164 files at 99.7 MB
    /usr/tmp/disk_5.iso - 136 files at 99.9 MB
    /usr/tmp/disk_6.iso - 159 files at 99.9 MB
    /usr/tmp/disk_7.iso - 40 files at 32.8 MB
    
    Is the above disk configuration okay?
    
    Answer y or n: y
    
    NOTE: If the Disks do not look balanced then answer "n" and it will re-randomize.
    
    - Building ISO images
    
    


DOWNLOAD
The latest version:

archive2iso-v1.0.pl

PREREQUISITES:
A package that wraps the mkisofs interface to simplify the process of making CD disk images. Import an array from an INCLUDE LIST you want to create an ISO image of.
Traverse a directory tree.

CHANGE LOG:
V1.0 07/2007 First release.

 
Copyright 1994-2011 Unix Guru Universe