I have a tar that was generated on a linux machine. I need to upload part of that tar to another linux machine. The full tar is huge and will take hours to upload. I am now on a Mac OSX machine and this is my problem:
- I extract the tar to a folder and locate what I need to upload to the new server
- I create a smaller tar containing just what I want to upload.
- I upload and extract that to the new linux machine
- When I look the server it is full of
._files. For every file uploaded there is a
OSX is including these files on the tar.
I have tried to do this
tar --exclude='._*' -cvf newTar .
I do not have ssh access to the new server now.
What can I do to solve that? How do I generate a clean tar.