首页 文章

无法获取程序在行尾打印文件

提问于
浏览
-3

试图获得打印在行尾的文件大小 .

这是我的代码 .

#!/bin/bash
#
#

find /home/clf18ftf -type f \( -size -100c -o -size 
+1000c \)

1 回答

  • 0

    根据手册查找:

    find /home/clf18ftf -type f \( -size -100c -o -size +1000c \) -printf "%h/%f %s bytes\n"
    

相关问题