Shell script problem

Ian Coetzee ubuntu at iancoetzee.za.net
Mon Mar 1 13:30:54 UTC 2010


On 2010/03/01 03:19 PM, Vijay Shanker Dubey wrote:
> Hi all,
>
> I have create a shell script to join two avi files. but when executing 
> i am getting this problem. Please suggest what to do. I have added my 
> shell script file. please give look.

I think you included the wrong script (deployer.sh), as it has nothing 
to do with avi files, but rather deploying a tomcat app, as defined in 
the first few lines.

> ##############################################################
> #
> # Deploy an application to predefined instance of tomcat.
> #
> #############################################################

Looking at the output defined below (assuming its the faulty output) I 
would suggest you either include the correct file, or look to see if the 
file "Reservoir.avi" is actually in the directory 
"/home/vijay/downloads/Reservoir/". Here is a tip run "ls -al 
/home/vijay/downloads/Reservoir/" and see if you can find that file in 
there.

Regards
Ian
>
> ----
> file is okay
> linux-softwares/launchers/join_files.sh: 62: 
> FILES[0]=/home/vijay/downloads/Reservoir/Reservoir.avi: not found
> added to array
> ---
> Regards,
> Vijay Shanker Dubey
>





More information about the ubuntu-users mailing list