[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: Determining if a file is text or binary via the KDE API
From: Carsten Pfeiffer <carpdjih () mailbox ! tu-berlin ! de>
Date: 2003-02-27 16:12:45
[Download RAW message or body]
-----BEGIN PGP SIGNED MESSAGE-----
On Thursday 27 February 2003 15:41, Frans Englich wrote:
> But, I came to think of that some parts of the KDE API is exported to
> shell scripts(I read somewhere). Perhaps there's a method to determine
> text/binary via the KDE API in some way?
Andras already pointed you to KMimeType -- you can use the `kfile' utility in
shell-scripts.
Cheers
Carsten Pfeiffer
-----BEGIN PGP SIGNATURE-----
iQEVAwUBPl44/aWgYMJuwmZtAQF0kwgAhMmn1uX68yUQCcEidxLMi/xR2tcVXOZd
PnDgT0NswLSWvi4+dvHSvqSFTbt4tfoQ7ztsKo/ZiUUGsFO0yXjOPK/9sBoAdvt9
zqc/Z7jNl01Az9+rwgBWl5CRh6zb9iKaEWghJ+sU+33tZIYHgQoeRQAt2WSAC+Wg
602AesrXLW2RXaHOmk82uHTU2Eb8Ko0fqyA86/3O5VrZ1L532dnALwN2bULTn8E9
YqY+c2hScYBzsZ6RQPTuDOCRv1mVVLl3kr9/u5PsG5IwwBgpsILXhHLLBS7H5seZ
dWuF8JWKWfyw/RQWVaSjahlYBMeCzMCj+UlHb1MMyd98/ntjiLED1A==
=vIfV
-----END PGP SIGNATURE-----
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic