When extracting a mac os x tar file on windows, I get additional junk files

0

I'm on mac os in some directory, call it abc, which has a whole bunch of sub-directories, many of which have sub-directories themselves. I create a tar file as follows

tar cvf abc.tar *

Then I copy abc.tar to a windows machine, running cygwin, and extract abc.tar as follows

tar xvf abc.tar

The result is all the original files in abc on the mac together with some additional files with the same name as the original files, but proceeded by "._' and ending with some additional characters. For example if the original file name is

fractal.geometry.pdf

The windows machine winds up with

fractal_geometry.pdf
._fractal_geometry.pdf.LKs811

When I do

file ._fractal_geometry.pdf.LKs811

I'm told it's an "AppleDouble encoded Macintosh file"

The extra files are not very big, but it's annoying to see all these junk files in the directory tree. I manually remove the junk files, but in some cases there are hundreds of them spread over dozens of directories.

Is there any way to prevent this behavior so as to end up with only the original mac files on the windows machine?

redwood_gm

Posted 2019-06-06T05:42:48.170

Reputation: 3

No answers