Elektra
0.8.25
|
The file plugin reads the content of a file and stores it into the parent key.
binary
treats the file as a binary file instead of a text file
info
adds additional informations about the file as metadata to the parent key. - `info/size` filesize - `info/ctime` time of last status change - `info/atime` time of last access - `info/mtime` time of last modification - `info/uid` user ID of owner - `info/gid` group ID of owner - `info/mode` protection - `info/inode` inode number
kdb mount file /testfile file
None.
`` <h1>Mount the file
file/multilineat
system/tests/file` sudo kdb mount "$PWD/src/plugins/file/file/singleline" system/tests/file file info=
kdb get system/tests/file #> this is a single line testfile
kdb lsmeta system/tests/file #> info/atime #> info/ctime #> info/gid #> info/inode #> info/mode #> info/mtime #> info/size #> info/uid
kdb getmeta system/tests/file info/mode
sudo kdb umount system/tests/file ```
None.