![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| invoking a shell script inside cgi shell script | smriti_shridhar | Shell Programming and Scripting | 2 | 07-09-2008 02:50 AM |
| Accessing variables of one shell script in another shell script | looza | Shell Programming and Scripting | 2 | 06-30-2008 08:13 PM |
| To call/execute a shell script from a shell script | konark | UNIX for Dummies Questions & Answers | 1 | 10-26-2007 06:16 PM |
| How to Run a shell script from Perl script in Parent shell? | hifake | Shell Programming and Scripting | 16 | 08-28-2007 09:42 PM |
| Have a shell script call another shell script and exit | heprox | Shell Programming and Scripting | 2 | 11-20-2006 08:17 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
FTP shell script
Hi
I am new in UNIX field. I don't know if I am posting in right forum or not. And I have also found out that there are so many posts about ftp shell scripting. I have tried those but actually having some problem. Well, my script should do the following..... It finds files( the filename ended with the date) inside a directory. Then it zipped those files. Then it ftp's the zipped file to target directory and mail the location where the zipped file is kept. I am able to find the files but having the problem with zipping them.Can anyone help me with that? |
|
||||
|
COMMON_TOP=$1
export COMMON_TOP USERNAME=abhishek TARGET_HOST=ftp123.mysite.com TARGET_DIR=/smart/d01/. ERROR_LOG=/tmp/smart_scp_error.log SMART_MSG=/tmp/smart_msg.txt EMAIL_LIST="abc@gmail.com, xyz@gmail.com" FROM=abhishek@mysite.com if [ -f $ERROR_LOG ]; then rm $ERROR_LOG fi `find $COMMON_TOP/temp/. -name "*_date" ......' here i am facing the problem |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|