Answers for "find file type linux script"

1

find file type linux script

#! /bin/sh
if [ -f "$1" ] && [ "`file -b --mime-type \"$1\"`" = "image/jpeg" ]; then
    echo "Good type for the file (JPEG)"
fi
Posted by: Guest on January-20-2021
0

linux find filetype

find . -iname "*.err"
Posted by: Guest on July-25-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language