图片错误已存在且未将我的计数结果打印到文件中

Error for picture already exist and not printing results of my count to a file

我正在做这个作业并试图弄清楚为什么我会收到此错误并且它不会将我的计数打印到相关文件(?)errore code

您可以使用 sample:

而不是 awk 的结构
echo "PNG file" $(ls -1 PNG|wc -l) >> PictureCount.md

你会得到这个目录中的文件数量。

顺便说一句,我没有看到任何关于 wc -1

的信息