* jr <creature.eter...@gmail.com> [22-09/18=Su 12:59 +0100]: > When I create an archive with '-cvWf' I'm used to finding only the files > specified, but every time I use 'tar' on this Debian, there is a "link" for > each and every file. Why? eg: > -rw------- jr/jr 256 2022-06-1 22:10 .config/pulse/cookie > hrw------- jr/jr 0 2022-06-12 22:10 .config/pulse/cookie link to > .config/pulse/cookie
Note that the file-type character "h" (the leftmost character in your second line of output) isn't documented in <https://www.gnu.org/software/coreutils/manual/html_node/What-information-is-listed.html>, which is presumably the most recent documentation. So I wonder whether there's some new feature that's not being correctly handled. I'm not aware that ext$i filesystems can distinguish hard links from original names. If some other filesystems can do so (and if these are hard links), then it's possible some subsystem is "helping" you by secretly creating these links to enable data recovery after accidental deletion.