get just the basename of the file

前端 未结 0 1125
粉色の甜心
粉色の甜心 2021-02-04 21:35

I have a loop that loops through a directory of .json files:

FILES=./JSONFILES/*
  for f in $FILES; do
  echo $f
done

This echos out

相关标签:
回答
  • 消灭零回复
提交回复
热议问题