View Single Post
  #9  
Old 06-04-2014, 01:07 PM
Nori Nori is offline
Junior Member
 
Join Date: Jun 2014
Posts: 3
Nori is on a distinguished road
Default

Re: Renaming rtmpdump downloads automatically based on date and time (Windows, Linux)


Quote:
Originally Posted by zer00 View Post
There is only a little mistake in the script.
This should work:

Code:
#! /bin/bash
FileName=`date +"MyShow - %0d-%0m-%0y - %0k-%0M-%0S.flv"`
rtmpdump -r rtmp://live1.seeon.tv/edge/nvcrd4lz4zs0w34 -p http://www.seeon.tv/view/11073 -W http://www.seeon.tv/jwplayer/player.swf --stop 3600 --live -o "$FileName"
Thank you!!
Reply With Quote