dd icon
dd icon

dd

 98 likes

dd, that stands for ‘data duplicator’, is a command-line utility for Unix mainly used for copying and converting data.

License model

  • FreeOpen Source

Platforms

  • Mac
  • Linux
  • BSD
5 / 5 Avg rating (5)
98 likes
3comments
0 news articles

Features

Suggest and vote on features
  1.  Command line interface
  2.  File Shredder
  3.  Burn iso
  4.  Create bootable USB
  5.  Write ISO to SD card
  6.  Disk Imaging
  7.  Create image

dd News & Activities

Highlights All activities

Recent activities

  • alternativeto-deviant liked dd
    about 1 month ago
  • App icon
    POX added dd as alternative to ZOTAC WinUSB Maker
    about 2 months ago
  • App icon
    timint added dd as alternative to ImageUSB
    about 2 months ago
  • daghemo added dd as alternative to Relax-and-Recover
    2 months ago
  • r3v0000 liked dd
    4 months ago
  • App icon
    K0RR added dd as alternative to Popsicle and Bootqt
    7 months ago
  • bnchndlr and MacDefender liked dd
    10 months ago
Show all activities

dd information

  • Licensing

    Open Source and Free product.
  • Rating

    Average rating of 5
  • Alternatives

    37 alternatives listed
  • Supported Languages

    • English

Our users have written 3 comments and reviews about dd, and it has gotten 98 likes

dd was added to AlternativeTo by erstdyui on Aug 26, 2016 and this page was last updated Nov 18, 2020. dd is sometimes referred to as Data Definition, Disk Dump.

Comments and Reviews

   
 Post comment/review
rescuezilla
  
Top positive commentDec 27, 2020

'dd' is a powerful command-line program that's been a staple of UNIX operating systems since the 1980s.

Pros:

  • Ubiquitous on all UNIX-like operating systems
    • When you use Linux, macOS or BSD, 'dd' will be available.
  • Extremely powerful options for advanced users
    • You can copy exactly blocks that want to exactly where you want (using the options like count=, bs=, seek=, skip=).
    • The manual is of course invaluable with this: man dd

Cons:

  • Very esoteric interface
    • dd predates standard UNIX options syntax like mkdir -p, so the option syntax is weird
  • No progress bar (see Tips section below)
  • A single typo can destroy your data
    • Always use eg, fdisk -l /dev/sda to check your device node, because dd if=my_linux.iso of=/dev/sda could end up overwriting an important disk!
    • 'dd' is affectionately called "Disk Destroyer" for a reason!
  • Default block size makes transfers very slow by default (see Tips section below)
  • Not robust to bad sectors
    • The standard dd command is not very good at handling clusters of bad sectors within dying optical media and hard drives. For such disks, look at GNU ddrescue: GNU ddrescue icon GNU ddrescue

Tips:

  • Set the default block size to vastly speed up your transfers
    • Try setting bs=1M to set a 1 megabyte block size and see if it speeds up your transfer!
  • Consider periodically send a USR1 signal to request dd to print statistics
    • On Linux machines, after you start your transfer switch to a new terminal and simply run the following to make dd print statistics each second:
      • watch -n 1 kill -USR1 `pgrep dd`
    • On BSD and macOS, send the INFO signal

For users new to 'dd' this may all seem overwhelming. If all you're looking to do is flash a Linux ISO image onto a USB stick and move on with your life then there are definitely much easier applications.

But there is a reason dd has been around for so many decades. It's simply extremely powerful, versatile and ubiquitous.

0
yofaw78034
  
Positive commentJul 20, 2020

It just works. GUI utilities for writing ISO files (for example) are just not required and take longer to use than a simple commandline utility.

0
EvergreenTrees
  
Positive commentOct 31, 2017

Fantastic because it's able to copy bytes directly from a larger drive onto a smaller drive (until reaching the end of the smaller drive of course). This allows setting up a partition table that will fit on the smaller drive, on the larger drive, then copying it.

0

What is dd?

dd, that stands for ‘data duplicator’, is a command-line utility for Unix mainly used for copying and converting data.

This tool can be used for:

• Backing up and restoring an entire hard drive or a partition. • Copy regions of raw device files like backing up MBR (master boot record). • Converting data formats like ASCII to EBCDIC. • Converting lowercase to uppercase and vice versa. • Creating files with fixed size.