• Skip to primary navigation
  • Skip to content
  • Skip to primary sidebar
  • Skip to footer
sharadchhetri.com

sharadchhetri.com

Linux,Cloud Computing And DevOps

  • Home
  • Linux
  • CloudComputing
    • Introduction Cloud Computing
    • Amazon AWS
  • Free E-Books
  • About Me

create iso image of directory in linux

July 10, 2013 by Sharad Chhetri Leave a Comment

create iso image of directory in linux

ISO file is known for archive file of optical disc like CD/DVD . ISO name has been taken from ISO 9660.
The .iso file extention is mostly used for disc images.

In Linux you can also create .iso image of directory.The method will help to take archive of desired directory in filesystem. It has one more advantage, after creating .iso image of directory you can write the image in CD or DVD. Or You can use mount -o loop command to mount the iso file in some other directory.

Command Format :

mkisofs -o Give-filename.iso /path/of/directory

See the below given example in which we have created the iso file of directory by using mkisofs command.

linux@tuxworld:/home/sharad/Desktop$ sudo mkisofs -o backup.iso study/
[sudo] password for linux:
I: -input-charset not specified, using utf-8 (detected in locale settings)
8.31% done, estimate finish Wed Jul 10 13:32:17 2013
16.62% done, estimate finish Wed Jul 10 13:32:11 2013
24.91% done, estimate finish Wed Jul 10 13:32:09 2013
33.23% done, estimate finish Wed Jul 10 13:32:08 2013
41.53% done, estimate finish Wed Jul 10 13:32:07 2013
49.83% done, estimate finish Wed Jul 10 13:32:07 2013
58.15% done, estimate finish Wed Jul 10 13:32:08 2013
66.43% done, estimate finish Wed Jul 10 13:32:08 2013
74.75% done, estimate finish Wed Jul 10 13:32:07 2013
83.05% done, estimate finish Wed Jul 10 13:32:07 2013
91.35% done, estimate finish Wed Jul 10 13:32:07 2013
99.65% done, estimate finish Wed Jul 10 13:32:07 2013
Total translation table size: 0
Total rockridge attributes bytes: 0
Total directory bytes: 3004
Path table size(bytes): 26
Max brk space used 0
60214 extents written (117 MB)
linux@tuxworld:/home/sharad/Desktop$
linux@tuxworld:/home/sharad/Desktop$ ls -l backup.iso
-rw-r–r– 1 root root 123318272 Jul 10 13:32 backup.iso
linux@tuxworld:/home/sharad/Desktop$ date
Wed Jul 10 13:32:32 IST 2013
linux@tuxworld:/home/sharad/Desktop$

Do'nt be greedy, share the knowledge!

  • Click to share on Facebook (Opens in new window)
  • Click to share on WhatsApp (Opens in new window)
  • Click to share on Twitter (Opens in new window)
  • Click to share on Pinterest (Opens in new window)
  • Click to share on Reddit (Opens in new window)
  • Click to share on Pocket (Opens in new window)
  • Click to share on LinkedIn (Opens in new window)

Related

Filed Under: Linux Tagged With: iso file

Reader Interactions

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Primary Sidebar

Help To Needy

If you like our posts and tutorials, please support/donate to ANY “Open Source Project” or do some Charity work. Hope this will make someone happy in this world. Drop me an email if you want to inspire others!

Thank You!

Follow Us

  • Facebook
  • Twitter
  • GitHub
  • YouTube

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Top Posts & Pages

  • How to delete mail queue in Postfix
  • How to start / stop / restart / reload iptables on CentOS 7 / RHEL 7
  • How to find absolute path of command on Linux / Unix : which command
  • How to fix read only USB pen drive in Ubuntu
  • How to set hostname and FQDN on CentOS 7 and RHEL 7
  • Install KVM on Ubuntu 14.04 LTS Desktop
  • How to zip the directory in linux with command line
  • 4 different commands to check the load average in linux
  • How to install XAMPP on CentOS/RHEL 6.5
  • CentOS 7 / RHEL 7 : change OpenSSH port number ( SELINUX enabled )

Recent Posts

  • Install and setup maven in Linux for Jenkins
  • How to setup Jenkins Credentials for Git repo access
  • How to manage Jenkins Credentials
  • Managing Jenkins plugins from command line and GUI
  • How to create Jenkins user by command line and GUI

Footer

Sharad Chhetri is an experienced Linux - Cloud Engineer & freelancer. Working on Open Source Technology since RHEL 4.0 (Red Hat Enterprise Linux). He loves sharing the knowledge which earned from real scenarios. Don't be surprised if you find him in technology seminars and meetup groups. You can contact him on email for freelance projects at admin@sharadchhetri.com. Read More…

Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy

Our GitHub Repo

sharadchhetri @ GitHub
  • java-samples
    Java Sample Project For Tutorial
    December 25, 2018 - 2:29 pm UTC
  • misc
    OpenSSH rpm created from tar ball
    November 21, 2018 - 3:12 am UTC
  • scripts
    Cassandra Backup Script
    November 21, 2018 - 3:09 am UTC
  • packer
    Packer : Create server images in automated way
    November 21, 2018 - 3:08 am UTC
  • Nagios
    My Nagios custom plugins
    November 21, 2018 - 3:07 am UTC

Recent Comments

  • Sharad Chhetri on CentOS 7 / RHEL 7 : change OpenSSH port number ( SELINUX enabled )
  • Dave on CentOS 7 / RHEL 7 : change OpenSSH port number ( SELINUX enabled )
  • Prafulla S on Install Shotcut on Ubuntu 16.04 LTS desktop
  • Sujata on Install Telnet Server on CentOS 7 / RHEL 7
  • kishen sharma on How to install redis server on CentOS 7 / RHEL 7
  • Sharad Chhetri on Secondary Logging : save all users history command output as log
  • Anand on Secondary Logging : save all users history command output as log
  • Sharad Chhetri on Install redis 3.0 from source on Ubuntu 14.04 / CentOS 7 / RHEL 7

Copyright © 2009 - 2019 · All Rights Reserved sharadchhetri.com · · Privacy Policy ·
· sitemap.xml · ·The content is copyrighted to sharadchhetri.com and may not be reproduced on other websites without our permission. ·