#!/bin/sh # RunAll.sh - Execute all *.sh scripts in current directory (except this one) d=`date "+%Y%m%d"` for s in `ls *.sh` do test `basename $s` = `basename $0` && continue echo "Executing script '$s'..." log1=`basename $s .sh`-${d}.log log2=`basename $s .sh`-${d}.err ./$s > $log1 2> $log2 done
cat foo.bat | sed 's:\^$:\\:' > foo.sh
サインインしたメンバーは投稿、更新のフォローなどができます。初めてですか?無料アカウントを登録してください。
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.