I recently start to use tar to backup my files on macOS.
I usually use:
tar cvf archive.tar foo bar
and i also run this to check:
tar tvf archive.tar
It would show the following and it seems okay:
-rw-r--r-- 0 6 Jan 20 22:40 foo-rw-r--r-- 0 13 Jan 20 22:40 bar
However, It seems likes this on Windows.
-rw-r--r-- 0 6 Jan 20 22:40 ._foo-rw-r--r-- 0 6 Jan 20 22:40 foo-rw-r--r-- 0 13 Jan 20 22:40 ._bar-rw-r--r-- 0 13 Jan 20 22:40 bar
I'm confused about the result.
Why it would output ._foo and ._bar? Where are they from?
How could i make an archive.tar only output foo and bar without ._foo and ._bar?