View Single Post
Posts: 875 | Thanked: 918 times | Joined on Sep 2010
#473
Originally Posted by Addison View Post
Last question...


cd /media/mmc1/Videos
FILE=`/bin/ls -1t |head -1`
youtube-dl-x --no-part -f 5 -o "%(stitle)s.%(ext)s" `xclip -out` &
sleep 5
while [ "$FILE" = "`/bin/ls -1t |head -1`" ]; do sleep 5 ; done
sleep 30
FILE=`/bin/ls -1t |head -1`
mplayer "$FILE"
rm -f "$FILE"



What would be the very last command to delete to the video after it's done playing?
Like that.
 

The Following User Says Thank You to auouymous For This Useful Post: