I use sudo rsync --archive --exclude={"/dev/*","/proc/*","/sys/*","/tmp/*","/run/*","/mnt/*","/media/*",/lost+found} a lot for backups so I want to be sure of what it does.
According to the rsync man page, --archive or -a is equivalent to -rlptgoD. All this options are fine and clear for me, except -D equivalent to --devices --specials, that are explained in Unix files types, Wikipedia.
I have never seen the effect of -D, copying device and special files is completely out of my present understanding.
In which case could -D be useful for archiving?
Should I just write -rlptgo(no -D) to prevent unexpected effects?
While writing this, I have the idea that sudo rsync --archive --exclude={"/dev/*","/proc/*","/sys/*","/tmp/*","/run/*","/mnt/*","/media/*",/lost+found} could be replaced by sudo rsync -rlptgo, because devices and specials are roughly covered by the exclude; in particular, devices are exactly "/dev/*".