CnUnix

[알림판목록 I] [알림판목록 II] [글목록][이 전][다 음]
[ CnUnix ] in KIDS
글 쓴 이(By): ymir (Mizz)
날 짜 (Date): 2005년 9월 27일 화요일 오후 03시 12분 36초
제 목(Title): Re: 파일의 날자를 얻는 스크립트.



GNU find 라면... ;;;


% find /target/path -type f -printf '%TY-%Tm-%Td ' -print | xargs --null -- ./run.sh

<snip run.sh>
if [ ! -d /path/to/$1 ] ; then
mkdir -p /path/to/$1
fi

cp -p $2 /path/to/$1
</snip>


  Oh, I do believe everlasting love and destiny to meet you again
  I feel a pain I can hardly stand all I can do is loving you

          - *Mizz* the Magic Knight!
[알림판목록 I] [알림판목록 II] [글 목록][이 전][다 음]
키 즈 는 열 린 사 람 들 의 모 임 입 니 다.