[PLUG] Burn some directories to a CD

Bill Spears bspears at easystreet.com
Wed Dec 8 20:15:47 UTC 2004


Use the -graft-points option.

Suppose your directories are html1 and html2.

mkisofs -R -o temp.iso -graft-points dir1=html1 dir2=html2

Mount temp.iso and see if that's what you want:
mount -t iso9660 -o loop temp.iso /mnt/cdrom

On Tue, 2004-12-07 at 12:09 -0800, Roderick A. Anderson wrote:
> Is there a method _from the commandline_ besides installing some backup
> software to _some_ directories and their contents do a CD that will only
> be used on Linux systems.  Damn the iso9660, HPFS, Joliet, etc.
> 
> I've been looking at the man pages for over an hour but they are all
> excited about MACS and Windows systems.  I've done this before (3+ years
> ago) but lost my notes when I did a system/OS upgrade that went bad.  
> (Should have backed up better eh?  ;-)
> 
> 
> TIA,
> Rod
-- 
Bill Spears <bspears at easystreet.com>




More information about the PLUG mailing list