AminetAminet
Search:
84779 packages online
About
Recent
Browse
Search
Upload
Setup
Services

util/cli/GetMimeType.lha

Mirror:Random
Showing: m68k-amigaos iconppc-amigaos iconppc-morphos iconi386-aros iconi386-amithlon iconppc-warpup iconppc-powerup icongeneric icon
No screenshot available
Short:Get MimeType of a file with Ambient
Author:Thomas Igracki
Uploader:Thomas Igracki de
Type:util/cli
Version:1.1
Architecture:ppc-morphos
Date:2025-03-03
Distribution:Aminet
Download:util/cli/GetMimeType.lha - View contents
Readme:util/cli/GetMimeType.readme
Downloads:34

Return the mime-type of a file with the help of Ambient

> s:GetMimeType s:GetMimeType
application/x-amigados

History:
02-Mär-2025: v1.1
  fix: resolve relative paths, because RxCmd can't handle them
  new: check if the file exists


Contents of util/cli/GetMimeType.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO METHOD CRC     STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[Amiga]                    285     439  64.9% -lh5- c5fd Mar  2 15:52 GetMimeType/GetMimeType.readme
[Amiga]                    470     786  59.8% -lh5- ea01 Mar  2 15:51 GetMimeType/S/GetMimeType
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total         2 files     755    1225  61.6%            Mar  3 00:30
Page generated in 0.02 seconds
Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>