
Try 'tar -help' or 'tar -usage' for more information. If i remove the md5sum part the script is working, but right now the script fails at the | tar -xf | part with this code 00:10:24 (617 KB/s) - ‘’ saved # Consider change second location to use ln -sĪs you can see in the script i would like to add the md5sum check but it fails (got the md5sum check part from Compare md5 sums in bash script) If ! cmp -silent "$file1" "$file2" thenĮcho "md5sum doesn't match.\n exit" >&2Ĭp ffmpeg-*-static/qt-faststart /usr/bin/Ĭp ffmpeg-*-static/qt-faststart /usr/local/bin/ #Download FFMPEG static daily build and it's md5Ĭurl -L | tar -xf | tee -a | cut -d\ -f1 | md5sum > md5sum.txtįile2=".md5" # Still to come, see if the script runs with root privileges else exit

Here is what I've got so far: #!/bin/bash The script should download and install the ffmpeg-static-build from

I'm trying to make my first "real" bash script to do some real work than can be executed both manually and through cron jobs.
