Simple (quick and dirty) Multi-Part Archive using 7z and CLI

Sometimes simple is better. File Roller wouldn’t create a multipart no matter what i tried so I turned to cli for a solution, and found it with 7z.

In this case I need to archive a 1.2GB iso file to a four part archive, with a volume size of 300mb. I didn’t delve into all the intricacies of what 7z can do, just the basics.

This produced four files:

Breakdown:

7z: calls the program
a: creates an archive
-t7z: selects 7z as the archive type (there are others)
-v300M: tells 7z to create 300mb archive parts
output and input files should be obvious. You could replace the input file with a directory!

will give more detail on options

Ubuntu – How to create Image (ISO) file from CD/DVD

Here is an easy one to get started. No fancy software needed, just a couple of simple CLI commands:

(assumes that /dev/cdrom is the location of CD/DVD-ROM, if not replace as necessary)

Insert your CD/DVD and open a Terminal

sudo umount /dev/cdrom

(This unmounts the CD ready for action)

dd if=/dev/cdrom of=file.iso bs=1024

(replacing file.iso with the name you want to give)

Wait a while, the CLI will remain blank until finished, then you have your ISO