123
output="_post/README.md"file_name=${output#*_posts/} # will remove _post/echo $file_name # README.md