I have received Illumina sequencing reads for 100 samples. I have 8 R1.fastq.gz
and 8 R2.fastq.gz
files for each sample in each subfolder. I want to run an MD5
check for all the fastq
files in each subfolder.
My folder structure looks like:
/mydata/sequencing/clean
/mydata/sequencing/clean/Sample1
/mydata/sequencing/clean/Sample2
......
/mydata/sequencing/clean/Sample100
I am using the following code being on the /mydata/sequencing/clean
directory.
find . -type f -exec md5sum-lite {} \;
This code is printing the md5 result on Terminal.
How do I get these results printed to a .txt
file? Besides, is there a more elegant way to do this MD5 check?
Thank you.