How do I create checksum for a directory with md5deep
, for checking duplication in another location?
For example:
I want to create checksum file for /home/user/Documents
and I want check duplicate in /media/usb/Documents
. If I use this:
md5deep -r -s /home/user/Documents > checksum.md5
The checksum file has the absolute path of the directory like:
f110abe5b3cfd324c2e5128eb4733879 /home/user/Documents/Dir01/file01
How do I make a path like Dir01/file01
?