Difference between revisions of "HowTo"

From salvaEwiki
Jump to: navigation, search
(Created page with "In bash, at Moria. Generate the md5 signatures of the files in a folder: for file in /Volumes/MBL21/A_TREASURY/012_A_TRASURY_ThiobiosGenomes/* ; do md5 -q $file >> resultsQ...")
(No difference)

Revision as of 19:40, 23 August 2017

In bash, at Moria.

Generate the md5 signatures of the files in a folder:

for file in /Volumes/MBL21/A_TREASURY/012_A_TRASURY_ThiobiosGenomes/* ; do  md5 -q $file >> resultsQ.out ; done

Generate the sizes of the files in a folder:

for file in /Volumes/MBL21/A_TREASURY/012_A_TRASURY_ThiobiosGenomes/* ; do  wc -c $file >> sizes.out ; done

Extract the first column:

awk '{print $1}' sizes.out > sizesQ.out