Help! shell programming# Unix - 噫吁兮,危乎高哉
c*e
1 楼
My boss asked me to write a shell program to do the following things:
1. find the changed files during a day. I guess it could be accomplished
by 'find ' utility.
2. copy those changed files to another machine across a network. Is 'ftp'
usable? If so, how to use ftp? How to disable the prompting and provide
it with userID and password?
Or there is some other way to do it instead of 'ftp'?
3. the script has to run every night automatically. I heard 'cron' can do
that, but I have ne
1. find the changed files during a day. I guess it could be accomplished
by 'find ' utility.
2. copy those changed files to another machine across a network. Is 'ftp'
usable? If so, how to use ftp? How to disable the prompting and provide
it with userID and password?
Or there is some other way to do it instead of 'ftp'?
3. the script has to run every night automatically. I heard 'cron' can do
that, but I have ne