Create ISO Image of a Folder
Tagged with: cd, command, dvd, folder, image, iso, Linux, mkisofs
Create an iso image of a directory
mkisofs -J -allow-leading-dots -R -V "Label CD" -iso-level 4 -o ./cd.iso data_cd
Create an iso image of a directory
mkisofs -J -allow-leading-dots -R -V "Label CD" -iso-level 4 -o ./cd.iso data_cd
I had a collection of ico files with the ext gif - these are the commands I used to fix the situation…
rename .gif .ico *.gif
find . -name '*.ico' -exec convert "{}" "{}.gif" \;
OR
mogrify -format gif *.ico
rm -f *.ico
Create a compressed iso image of cdrom on disk
mkisofs /dev/cdrom | gzip > cd_iso.gz
Batch resize files in the current directory and send them to a thumbnails directory (requires convert from Imagemagick)
find . -maxdepth 1 -name *.jpg -print -exec convert "{}" -resize 80x60 "thumbs/{}" \;
How to make an ISO image from contents of a directory?
mkisofs -V label-name -r directory-name > iso-image.iso
[tags]iso,image,folder,linux,mkisofs[/tags]
These commands can be used to create an image of a CD/DVD/HDD. You can also use some GUI tool like K3B to do this. Use one any of the three commands…
dd if=/dev/cdrom of=cd_image.iso
cat /dev/cdrom >image.iso
readcd dev=device f=image.raw
[tags]cd, command, dd, dvd, image, iso,linux,raw[/tags]
This command can be used to create an image of a CD/DVD/HDD. You can also use some GUI tool like K3B to do this.
Make sure that the CD is unmounted before running this command
dd if=/dev/cdrom of=cd_image.iso
[tags]cd,dvd,image,iso,dd,linux,command[/tags]
I once got a DAA file from a P2P network. Initally I was at a lose about how to extract the data. Finally I found a method that works. First get the ‘poweriso’ utilty for Linux. You can get it at the PowerISO website
Then convert the DAA file to a regular ISO file using this command…
poweriso convert daa_image.daa -o iso_image.iso -ot iso
[tags]iso,daa,image,poweriso,command,linux[/tags]
Mounting ISO Images in Linux
mount -t iso9660 -o loop <Image_File> <Mount_Point>