|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
Find command in Unix script PLease Help
I'm using the following command in my ksh script
find ${dirc} -type f -name "zcc*" -size +5 -exec cp {} /ecSP5/mn/zccedr2d.f1.ou${date} \; when I use this on the command line it works fine. But in my script I get an error : `find' is not expected. Can anyone help me as to why? |
|
#2
|
|||
|
|||
|
try:
Code:
find $dirc -type f -name zcc\* \
-size +5 -exec cp {} /ecSP5/mn/zccedr2d.f1.ou"$date" \;
|
|
#3
|
|||
|
|||
|
I doubt that fiddling with the syntax of the find command will help. That message means that an error elsewhere has led ksh to expect something else at the point it encountered the find command.
|
|
#4
|
||||
|
||||
|
please post also the lines in the script which proceed the find statement
christo
__________________
. Spiration channels: Free scripts, programming tutorials and articles Dotcut alerts: Online Press cuttings / news alerts Clearprop: UK microlight school, wiltshire Uk dating: UK safe dating with Topdates About Christo . . |
![]() |
| Viewing: Dev Shed Forums > Operating Systems > UNIX Help > Find command in Unix script PLease Help |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|