_IFL="<...>/xxHbRa4mhUI.mp4"

$ file --preserve-date --separator "|" "${_IFL}"
<...>/xxHbRa4mhUI.mp4| ISO Media, MP4 v2 [ISO 14496-14]

$ file --preserve-date  --brief "${_IFL}"
ISO Media, MP4 v2 [ISO 14496-14]

$ file --preserve-date  --mime --brief "${_IFL}"
video/mp4; charset=binary

 While using "file" only once, I would like to get as output: "video/mp4; 
charset=binary|ISO Media, MP4 v2 [ISO 14496-14]"

 And/Or is it totally safe to stratify the "ISO Media, MP4 v2 [ISO 14496-14]" 
(file --brief) part and then use one example file to get the " --mime " part of 
all such files?

 lbrtchx

Reply via email to