技術 > Linux/Unix作業環境

[command] rename

(1/1)

ngstool:
mv a.out b.out
================
sudo apt-get install krename

141003-D002-1_S2_L001_R1_001.clean.fastq => D002_R1.fastq
rename -v   's/141003-(D\d\d\d)\S+(_R[12])\S+\.fastq$/$1$2\.fastq/' *.fastq
-v verbose -n just test

導覽

[0] 文章列表