libjxl / libjxl

JPEG XL image format reference implementation
BSD 3-Clause "New" or "Revised" License
2.61k stars 251 forks source link

Feature request - CJXL - Add argument to copy over extended attributes on compatible file systems #3738

Open TacoCake opened 1 month ago

TacoCake commented 1 month ago

Is your feature request related to a problem? Please describe. I need to convert a massive amount of pictures that are tagged using extended attributes on the file system. Right now, cjxl copies over the EXIF data, which is great. I would also love to be able to copy over the extended attributes via a single command.

Describe the solution you'd like We could have --xattrs just like rsync and tar, which both have this attribute to conserve the extended attributes.

Describe alternatives you've considered I have considered writing a bash script that converts, then copies over the extended attributes. However, I think it would be a better user experience to have it “just work” in a single command.

Additional context I'm mainly interested in the user.xdg.tags value, if that changes anything.

CrushedAsian255 commented 1 month ago

Given timestamps aren’t copied over, this is probably something that you should just write a shell script to do, or use a pre existing batch conversion software that handles xattrs