mimeopen
Perl module to determine file types
Install
- All systems
-
curl cmd.cat/mimeopen.sh
- Debian
-
apt-get install libfile-mimeinfo-perl - Ubuntu
-
apt-get install libfile-mimeinfo-perl - Arch Linux
-
pacman -S perl-File-MimeInfo - Kali Linux
-
apt-get install libfile-mimeinfo-perl - Windows (WSL2)
-
sudo apt-get updatesudo apt-get install libfile-mimeinfo-perl - Raspbian
-
apt-get install libfile-mimeinfo-perl
libfile-mimeinfo-perl
Perl module to determine file types
File::MimeInfo can be used to determine the mime type of a file. It tries to implement the freedesktop specification for a shared MIME database. This package also contains two related utilities: * mimetype: determine a file's mimetype * mimeopen: open files according to their mimetype