I created this page by copying the md5sum page, but changing the information from md5 to sha1. As a result, I may have missed something.
--Yilez 08:38, 6 Septem
This article is rated Start-class on Wikipedia's content assessment scale. It is of interest to the following WikiProjects:
This article is within the scope of WikiProject Software, a collaborative effort to improve the coverage of software on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.SoftwareWikipedia:WikiProject SoftwareTemplate:WikiProject Softwaresoftware
I created this page by copying the md5sum page, but changing the information from md5 to sha1. As a result, I may have missed something.
--Yilez08:38, 6 September 2006 (UTC)Reply
Example for Directory Tree
Latest comment: 11 years ago4 comments4 people in discussion
The examples are good! Would be nice if you could also give an example for hashing a complete directory tree (i.e. folders and files with subfolders and files)! --78.87.74.6 (talk) 18:13, 11 March 2014 (UTC)Reply
It's a bit of a vague and complex example. I think advising the creation of a tar archive (or something of the like) of the directory tree might be a better idea. --216.180.246.195 (talk) 08:24, 13 July 2014 (UTC)Reply
A not-so-pleasant person (given his blatant tone on his own user page) called User:MXocrossIIB decided to remove those examples. Given that those would be likely removed by puristic mods, I post them here before Wikimedia decides to prune the page history:
===Hash file trees===
sha1sum can only create checksums of one or multiple files inside a folder, but not of a folder tree, i.e. of sub folders, sub-sub folders, etc. and the files they contain. This is possible by using sha1sum in combination with the commands find and xargs (and optionally with sort so that the files are sorted in the checksum file).
Example 1 - Prints hashes on the screen (replace path/to/folder with the path that you want to hash)
Example 2 - Saves hashes to a file (replace path/to/folder with the path that you want to hash) and filename.sha1 with the output filename that the hashes should be written to)
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.
The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.