November 2008
Intermediate to advanced
208 pages
4h 32m
English
This script was also written for my friend, knowing he would be pretty upset if he didn't have a way to reconstruct his files. This is a companion script for the file-splitting one, and both scripts can be put together in a wrapper if you prefer. (A wrapper is code that brings both scripts together in one utility.) I separated them here for instructional purposes. This file-joining script will only work for files that were previously split (see "#4 File Splitting" on File Splitting); however, you can adjust it to suit your needs.
if ARGV.size != 1 puts "Usage: ruby fileJoin.rb <filename.ext>" puts "Example: ...
Read now
Unlock full access