bs=64k or bs=1m or bs=512 : Set both input and output block size to n bytes.$ sudo dd if=/dev/disk2 bs=64K | gzip -c > .gz You can create compressed disk image as follows: You can press the ctrl+ t (hold control key and press t) to see dd command progress on macOS: Password:ģ965190144 bytes transferred in 839.664927 secs (4722348 bytes/sec) It will take some time, and you won’t see any updates on the screen. $ sudo dd if=/dev/disk2 of=backup.my. bs=1m $ sudo dd if=/dev/disk2 of=backup.my. bs=512 Create the disk image with ddįinally create the disk image of the entire disk /dev/disk2: Here is what we see: Unmount of all volumes on disk2 was successful 3. In this example my SD card size is 4GB and located at /dev/disk2. Open the Terminal application and type the following command to list disks:įig.01: Insert in your SD card, or USB pen/HDD, and see /dev/diskN name
0 Comments
Leave a Reply. |