init
This commit is contained in:
8
check-mime
Normal file
8
check-mime
Normal file
@@ -0,0 +1,8 @@
|
||||
#!/bin/bash
|
||||
|
||||
# mime=$(file -b --mime-type dog.jpeg)
|
||||
mime=$(mimetype https://bscdn.sgp1.digitaloceanspaces.com/CurriculumApp/IK3/Week8/Core/Day4/AudioVisual/1RBE12.wmv)
|
||||
echo $mime
|
||||
if [[ $mime = video/@(x-ms-wmv|wmv) ]]; then
|
||||
echo "need conversion"
|
||||
fi
|
||||
Reference in New Issue
Block a user