This is a test version of Biostars. For the public version, visit https://www.biostars.org.
getting base-name for file in shell

dear all,

I have so many fastq file like this;

XCGD2_R2.FB-P7-Rd2-LC.10_trimLCwithMCF.fastq but instead of 10 I have different number. on the other hand I have this file; XCGD2_R2.FB-P7-Rd2_trimLCwithFlexbar.fastq

I want to cancotenate the first files with second .Some how I need to get basename that are common but I don't know how? they are mix with other files for this reason I want to get common part.

any help, thanks

shell basename

0 answers

No answers yet.

Log in to answer this question.