This forum has been archived. All content is frozen. Please use KDE Discuss instead.

a-user-filename > Properties > Details

Tags: None
(comma "," separated)
User avatar
abury
Registered Member
Posts
190
Karma
1
OS
I'm curious as to where the tab that stores the metadata--that the Information panel displays--is stored.
Is anything, like a comment, that one adds to a file... attached to the file itself or are these this kept elsewhere?


KDE neon 5.20 - Plasma 5.20.5 - Frameworks 5.78 - Qt 5.15.2 - Kernel 5.4.0-65
User avatar
Rog131
Registered Member
Posts
828
Karma
10
Earlier: Tag files and search tags - viewtopic.php?f=67&t=141100


Short:
Tags and the comments are saved as the extended file attributes: https://en.wikipedia.org/wiki/Extended_file_attributes .
The KDE file search (baloo) and other indexing systems are then collecting them to the own data storage.

You could dump the data with the:

Code: Select all
$ getfattr --help
getfattr 2.4.48 -- get extended attributes
Usage: getfattr [-hRLP] [-n name|-d] [-e en] [-m pattern] path...
  -n, --name=name         get the named extended attribute value
  -d, --dump              get all extended attribute values
  -e, --encoding=...      encode values (as 'text', 'hex' or 'base64')
      --match=pattern     only get attributes with names matching pattern
      --only-values       print the bare values only
  -h, --no-dereference    do not dereference symbolic links
      --absolute-names    don't strip leading '/' in pathnames
  -R, --recursive         recurse into subdirectories
  -L, --logical           logical walk, follow symbolic links
  -P  --physical          physical walk, do not follow symbolic links
      --version           print version and exit
      --help              this help text


Part of the package: attr - Utilities for manipulating filesystem extended attributes .

Image
User avatar
abury
Registered Member
Posts
190
Karma
1
OS
Rog131 wrote:Earlier: Tag files and search tags - viewtopic.php?f=67&t=141100
... Part of the package: attr - Utilities for manipulating filesystem extended attributes.

Awesome... thank you very much!
[Pity when I searched this forum... that I didn't consider the word "tag"--dah!--because then your earlier post would've saved the day and these unnecessary posts...]


KDE neon 5.20 - Plasma 5.20.5 - Frameworks 5.78 - Qt 5.15.2 - Kernel 5.4.0-65


Bookmarks



Who is online

Registered users: Bing [Bot], blue_bullet, Google [Bot], Sogou [Bot]