bash how to generate md5 checksums on all files in a directory 1

bash how to generate md5 checksums on all files in a directory

# Basic syntax:
md5sum /path/to/directory/* > list_of_checksums

# Note, md5sum will run on any files that are found with your search
# 	pattern. For example:
md5sum /path/*/*files_I_want* > list_of_checksums
# This would process all files than contain the substring "files_I_want"
# in all directories in the "path" directory

Here is what the above code is Doing:
1. The md5sum command is being run on all files that match the search pattern
2. The output of the md5sum command is being redirected to a file called
list_of_checksums

Similar Posts