https://bugzilla.samba.org/show_bug.cgi?id=4162


[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[EMAIL PROTECTED]




------- Comment #1 from [EMAIL PROTECTED]  2007-07-12 05:14 CST -------
I would also like to see such a function. On Linux the file command could be
used to determine the exact file type, which is more robust than using a
built-in or user-supplied list of file extentions (like .gz, .bz2, .jpg and so
on)

Instead of calling the file command rsync can directly use libmagic. That
should also be possible on non-UNIX systems I think, since the library is
surely portable.

The other solution by testing compression on the first 8k is also a very good
one, that might be even faster to implement.


-- 
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.
-- 
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to