I am not very familiar with bash scripting, so I need a small help from you guys.
I have a directory on my Gentoo server with several hundred videos and every video has a date in its name (09092015.mp4, 10092015.mp4 etc.). I need a while loop that will copy all those files on new location with qt-faststart and keep their original name.
EDIT:
I have tried this code.
filename=${*.mp4}
while true;
qt-faststart $filename /backup/$filename
fi
done