안녕하세요.. 질문의 너무 무식하죠.. 죄송.. :oops:
다름이 아니라 백업된 화일을 다른 서버로 전송시키려고 합니다.
스크립트를 만들어서 크론으로 매시간마다 FTP로 업로드 시키려고 하는데,
제가 쉘 스크립트 실력이 모자라서요 ^^;
도와주세요
man ncftpput ( redhat 7.x 버젼에서 가능 )
------------------------------------------------------------------------------------------------ Life is in 다즐링
http://kldp.org/HOWTO/html/Adv-Bash-Scr-HOWTO/contributed-scripts.html#ENCRYPTEDPW
여기 보시면 예제가 있고요, Here Document 란 것을 이용해서 처리합니다. 비밀번호가 노출되니까 조심해서 쓰세요. expect 란 것을 이용할 수도 있습니다.
껍질의 파괴
텍스트 포맷에 대한 자세한 정보
<code>
<blockcode>
<apache>
<applescript>
<autoconf>
<awk>
<bash>
<c>
<cpp>
<css>
<diff>
<drupal5>
<drupal6>
<gdb>
<html>
<html5>
<java>
<javascript>
<ldif>
<lua>
<make>
<mysql>
<perl>
<perl6>
<php>
<pgsql>
<proftpd>
<python>
<reg>
<spec>
<ruby>
<foo>
[foo]
man ncftpput( redhat 7.x 버젼에서 가능 )
man ncftpput
( redhat 7.x 버젼에서 가능 )
------------------------------------------------------------------------------------------------
Life is in 다즐링
[url]http://kldp.org/HOWTO/html/Adv-Bash
http://kldp.org/HOWTO/html/Adv-Bash-Scr-HOWTO/contributed-scripts.html#ENCRYPTEDPW
여기 보시면 예제가 있고요, Here Document 란 것을 이용해서 처리합니다. 비밀번호가 노출되니까 조심해서 쓰세요. expect 란 것을 이용할 수도 있습니다.
껍질의 파괴
댓글 달기