Hi Stuart

On 1 January 2012 15:45, Stuart Bird <e_tect...@yahoo.co.uk> wrote:
> I have a folder full of various format movie files which I want to play 
> sequentially using VLC.

find (and xargs) might be a good choice for listing files as it can
handle weird filenames better [1]. The below will look for all the
files inside /path and execute rm on each one of them individually:

find /path -type f -exec rm '{}' +

> but I have to use Ctrl-C after each play to move onto the next movie. I would 
> like to have each movie play to completion, and then the next one start 
> straight away.

looking at vlc's help [2], the --play-and-exit argument might be just
what you're looking for (I haven't tested this)

> The eventual plan is to take some user input after each movie has played 
> (assigning a numeric category 1-9) but that will come later.

Would you care to expand on what it is that you are trying to achieve?
There might be a better solution for that than bash...


Ernest

[1] - http://en.wikipedia.org/wiki/Xargs
[2] - http://wiki.videolan.org/VLC_command-line_help

_______________________________________________
Peterboro mailing list
Peterboro@mailman.lug.org.uk
https://mailman.lug.org.uk/mailman/listinfo/peterboro

Reply via email to