[ubuntu-uk] video editing

Robert McWilliam rmcw at allmail.net
Mon Jan 21 23:56:21 GMT 2008

On Mon, Jan 21, 2008 at 09:46:03PM +0000, Javad Ayaz wrote:
> well
> cd /media/sda5/Nuzhet shadi/mehndi edited/ cat mehndi1.vob mehndi2.vob >
> mehndi_joined.vob

OK, quick command line primer. Each program you want to run should
either be at the start of the line or be indicated in some other way
that it is a program[1]. After the program name in a command line will
come any arguments that you want to give the program, these should be
separated by spaces. The fact that spaces separate arguments is one of
the problems you've got as there is a space in the path you want to
use as an argument. In this case you have to tell the shell that this
space is part of a single argument not separating two. The easiest way
to do this is to put double quotes round the argument. 

What you have mentioned above is actually two commands, did you run it
as two commands or as one?

1st command (including fix for the space):
    cd "/media/sda5/Nuzhet shadi/mehndi edited/"

This will change the working directory to the path specified. 

2nd command:
    cat mehndil1.vob mehndi2.vob > mehndi_joined.vob

This calls cat on the first two files, and redirects the output to
mehndi_joined.vob. cat conCATenates multiple files together and
outputs the results to the standard output. The > symbol redirects the
standard output from the preceding command to somewhere else, in this
case the file specified.

> still resulted in nothing! :(

I'm willing to bet money it didn't ;) It probably didn't do what was
desired but telling us what did happen (Were there any error messages?
What were they? Was the computer busy for a while? ...) makes it
easier to figure out where things went wrong. 

All that being said importing the two files to whichever video editor
you were using is probably an easier approach if you're not
comfortable with the command line. 


[1] e.g. what follows a | symbol is another program, this means that
the output of the command in front of the | is the input for the
command following the | 
If that made no sense don't worry about it too much.

Robert McWilliam     rmcw at allmail.net    www.ormiret.com

What if the Hokey Kokey IS what it's all about?

More information about the ubuntu-uk mailing list