![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| error connecting sql through a shell script | nehak | Shell Programming and Scripting | 1 | 04-30-2008 08:04 AM |
| Shell Script Error | jazz8146 | UNIX for Dummies Questions & Answers | 0 | 04-23-2008 07:38 AM |
| Shell script run error ksh: not found | nz80qy | Shell Programming and Scripting | 3 | 03-25-2008 10:57 AM |
| awk Shell Script error : "Syntax Error : `Split' unexpected | Herry | UNIX for Dummies Questions & Answers | 2 | 03-17-2008 11:16 AM |
| error in shell script | jalpan.pota | UNIX for Dummies Questions & Answers | 2 | 05-18-2007 09:14 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
How to bypass error in shell script?
Hi again,
I have a script that moves files based on filelist: ------------------------------ filelist1=./rated.txt for file in $(< $filelist1) do mv ./$file ./Backup/$file done ------------------------------ If the file in filelist is not found from the folder the script fails. Is there any way to avoid this? So, just to move those files found and ignore the errors for those not found. Thanks, -M- |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|