The diskutil said that my SD card is located on /dev/disk4, so I typed
sudo dd if=/dev/rdisk4 of=~/Desktop/backup.img bs=1m
to backup my SD card. But there is a message
dd: ~/Desktop/backup.img: No such file or directory
What's the problem?