3 ms·
My recent journey sorting through years of files and categorizing/tagging them with the built-in Extended File Attribute functionality.
by alance 10mo ago
My recent journey sorting through years of files and categorizing/tagging them with the built-in Extended File Attribute functionality.
- karmakaze 10mo agoI've lost extended attributes of files on a number of systems because they aren't always included by default in file operations. I don't trust everything that could possibly write/update a file to preserve them--common 'safe' pattern is to rename as .bak and write new file contents without EA to original name. Nor do I trust myself from archiving without using the right options in a hurry.
- alance 10mo agoYes concerning. The possibility of losing them between filesystems is worrying too. One rule of thumb is `mv` will keep the attributes by default (given similar filesystem) and everything else needs tweaking/extra args. There's a section on it over here: https://wiki.archlinux.org/title/Extended_attributes#Preserving_extended_attributes https://wiki.archlinux.org/title/Extended_attributes#Preserv...