Artie-s-Computer-4:~ artie$ sudo diff -qr /Volumes/source/sbin/ /Volumes/restore/sbin/ |grep '^Only in'
diff: /Volumes/source/sbin/: No such file or directory
diff: /Volumes/restore/sbin/: No such file or directory
Artie-s-Computer-4:~ artie$ -
I think you were meant to enter the actual names of the two volumes in place of
source and
restore.
("No such file or directory" is, in my limited experience, almost invariably a clue that a command has been entered incorrectly.)