Write a bash script that renames each png in this directory by splitting it over _ and renaming it to whatever comes between the 2nd and 3rd underscores with the png file extension
system
ek bash script likhen jo is nirdeshika main prayek pienji ko phir se vibhajit karke _ ke upar vibhajit kar de or pienji fil ekstansion ke saath 2 or tisare anderscore ke bich jo kuch bhi aata he, uskaa naam badalakar.
user
yahaan ek bash script he jo prayek PNG fil ko apane fil naam main duusare or tisare anderscourse ke bich string main badal detii he:

*.png main fil ke liye;karnaa
  mv $ fil $ (echo $ fil | cut -d "_" -f 2,3 | cut -d "_" -f 1) .png;
ho gaya
assistant
<|system|>
</s>
<|user|>
ek bash script likhen jo is nirdeshika main prayek pienji ko phir se vibhajit karke _ ke upar vibhajit kar de or pienji fil ekstansion ke saath 2 or tisare anderscore ke bich jo kuch bhi aata he, uskaa naam badalakar.</s>
<|assistant|>
yahaan ek bash script he jo prayek PNG fil ko apane fil naam main duusare or tisare anderscourse ke bich string main badal detii he:

*.png main fil ke liye;karnaa
  mv $ fil $ (echo $ fil | cut -d "_" -f 2,3 | cut -d "_" -f 1) .png;
ho gaya</s>
