Quantcast
Channel: UNIX and Linux Forums
Viewing all articles
Browse latest Browse all 16232

Help with naming the file

$
0
0
Hi,

I have a folder that contains files

Code:

abc.txt
def.txt
....and so on

Inside abc.txt, I have
Code:

@<TRIPOS>MOLECULE
4|Chelerythrine|abcb11_earlyIdentification_Stronginhib_washed_ligprep|sdf|1|dock

Inside def.txt, I have
Code:

@<TRIPOS>MOLECULE
160|Tipranavir|abcb11_earlyIdentification_Stronginhib_washed_ligprep|sdf|17|dock

I want to rename
Code:

abc.txt to abc.txt4
def.txt to def.txt160

Can someone help me with this.

Thanks!!!

Viewing all articles
Browse latest Browse all 16232

Trending Articles