This commit is contained in:
Kar
2022-10-27 19:36:51 +05:30
commit 42f6a4ef5e
4 changed files with 139 additions and 0 deletions

8
check-mime Normal file
View 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