On Sun, Sep 18, 2022 at 12:59:21PM +0100, jr wrote: > 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
-W is new to me, but the man page says it just means "verify the archive after writing it", so that doesn't sound relevant. What kind of file system are the files sitting on? What are the *exact* tar commands that you used, to create the archive, and to get that partial listing that you gave? I can't reproduce your issue on my system, from the information you provided: unicorn:~$ tar -cvWf foo.tar .cache/fontconfig/CACHEDIR.TAG .cache/fontconfig/CACHEDIR.TAG Verify .cache/fontconfig/CACHEDIR.TAG unicorn:~$ ls -l foo.tar -rw-r--r-- 1 greg greg 10240 Sep 18 09:09 foo.tar unicorn:~$ tar tvf foo.tar -rw-r--r-- greg/greg 200 2015-04-22 12:26 .cache/fontconfig/CACHEDIR.TAG > $ cat /etc/debian_version > 11.5 > $ tar --version > tar (GNU tar) 1.34 > Copyright (C) 2021 Free Software Foundation, Inc. > [...] Same versions here. Whatever's causing it is coming from something else.