2017-10-17 2 views
0

UrbanCode Deploy Shell 단계에서 다음 명령을 실행합니다. 내가 원하는 것은 발견 된 모든 파일들에 대해 Util.sh를 실행하는 것입니다.find -exec가 exec 부분을 실행하지 않습니다.

find . -type f -exec ls -al {} \; 
find . -type f -exec Util.sh -import source= {} overwrite=true \; 
Util.sh 
출력은 다음과

2 명령을 전혀 실행하지 않았다.

delimiter specified is , 
executing script for all values in /app/bip/XMLP/Reports 

------------------------------- 
executing script for values: /app/bip/XMLP/Reports 
/bin/sh /var/tmp/shell_command_5832071109593396198.tmp /app/bip/XMLP/Reports 
------------------------------- 
command output: 
./BIP_Rollfoward/tmp/FlexPak/Asset_Allocation/Asset_Allocation.xdmz 
./BIP_Rollfoward/tmp/FlexPak/Asset_Allocation/Asset_Allocation.xdoz 
/var/tmp/shell_command_5832071109593396198.tmp: Util.sh: not found 
=============================== 
command exit code: 1 
+2

'/var/tmp/shell_command_5832071109593396198.tmp : Util.sh : 찾을 수 없음' –

답변

-1

당신은 사이의 공간을 제거해야 '='와 '{'소스 = {}

가되어야한다

source={} 
관련 문제