
find
디렉토리 아래의 모든 파일을 실행 하려고합니다 . 모든 것을 다음 #
과 같이 바꾸는 sed 스크립트가 있습니다 //
./path/to/directory
file1 file2 file3
사용 find
및 sed
: find /path/to/directory -type f -exec sed -f file.sed {} \;
.
모든 파일이 실행되는 위치( 디렉토리 file1 file2 file3)
아래 )에서 실행되도록 하려면 어떻게 해야 합니까 path/to/directory
?