Hi,

just forcompleteness

Am 21.04.22 um 22:31 schrieb John Ralls:
> Linux has had extended attributes since 2002, but they never really caught on 
> and the XDG MIME database relies on file globs--which for practical purposes 
> means file extensions--to determine what program to launch when a user tries 
> to open a data file. 

In theory there is a "file magic".
For uncompressed XML file you can check for the begin:
<?xml version="1.0" encoding="utf-8" ?>
<gnc-v2

But compressed, it is "hidden" in a gzip container.
I have never looked in a sqlite file.
The other SQL flavours have no specific file.

Regards
Frank
_______________________________________________
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see 
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.

Reply via email to