User Tools

Site Tools


ubuntu:openssl:compute_a_checksum_of_a_file

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
ubuntu:openssl:compute_a_checksum_of_a_file [2021/01/29 15:49] peterubuntu:openssl:compute_a_checksum_of_a_file [2021/01/29 15:53] (current) – [Compute an MD5 Checksum for all files in a directory] peter
Line 62: Line 62:
 <code bash> <code bash>
 find /home/peter -type f -print0 | xargs -0 openssl md5 find /home/peter -type f -print0 | xargs -0 openssl md5
 +
 +or
 +
 +find /home/peter -type f| xargs -d '\n' openssl md5
 </code> </code>
 +
 +<WRAP info>
 +**NOTE:**  The xargs command takes white space characters (tabs, spaces, new lines) as delimiters.
 +
 +To accommodate for files which may contain spaces, the **-d** option is used to limit xarg delimiters to only the new line characters ('\n').
 +</WRAP>
  
ubuntu/openssl/compute_a_checksum_of_a_file.1611935360.txt.gz · Last modified: 2021/01/29 15:49 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki