답변 감사합니다
[root@dec q1]# `ls -1 | awk '{print "rm -f " $1}'`
bash: /bin/rm: Argument list too long
여전히 이렇게 나오네요...
[root@dec q1]# find . -exec rm -f {} ;
rm: cannot remove `.' or `..'
[root@decmail q3]#
이건 되네요!
find -depth 1 -type f -exec rm {} ;
계속 검색해봤는데 이런것도 있다고 하네요.
:
: 요렇게 하면 않될까요?
:
: $ `ls -1 | awk '{print "rm -f " $1}'`
:
: 또는
:
: $ find . -exec rm -f {} ;
:
: 방법은 찾아보면 꽤 많을듯...--N/A