2
votes
1answer
50 views

Given that tar ignored my 2 sockets, how do I backup and then restore my login folder?

I did a network backup of my login area in preparation for reformatting the volume in which it resides to make it bootable on my old Power Mac G5 running the very latest release of Leopard. Though ...
2
votes
3answers
1k views

Copy hundreds of thousands files Mac to NAS

I'm trying to transfer my Aperture library to the NAS. It contains few hundred of thousands of files (quite small ones). After OS X finishes copying the big files, the estimated time of the copy ...
1
vote
2answers
137 views

Backing up multiple vmware VMs from a mac

I use vmware fusion to prototype and model enterprise infrastructure. This question is intended to solicit an optimal method for backing up (preferably incrementally) VMs. My VM directory is now ...
2
votes
2answers
311 views

One-liner Linux for scp'ing thousands of files as a tar

I have a folder with tens of thousands of files that I need to scp to another box. As doing one file at a time is very timeconsuming, and as I don't have harddrive space to make a compressed tar ...
0
votes
1answer
88 views

How to collect all media file in a mac directory structure?

I'm trying to copy all media files (Mac file type of Image or Movie) to the same directory structure, only taking media files. Is there a more efficient way than what I've got below? Is there a ...
1
vote
0answers
76 views

keeping Snow Leopard's directory timestamps when extracting a tar in Mountain Lion

I have a directory in a Snow Leopard box that looks something like: MyDir/ file1 SubDir1/ file2 SubDir2/ file3 I created an encrypted archive of it (still in Snow ...
2
votes
2answers
4k views

.tgz file- tar: Unrecognized archive format

I'm trying to install a 10gen build of mongodb on my local mac running Mountain Lion (10.8.3): I fetch it with curl at: curl http://downloads.mongodb.org/osx/mongodb-osx-x86_64-2.4.tgz > ...
0
votes
2answers
2k views

tar: --exclude=“.git”: Cannot stat: No such file or directory

This is driving me crazy. I want to tar a directory, but exclude some files. This is my command: tar -zcvf $NAME-$VERSION.tar.gz $NAME-$VERSION --exclude='.git' --exclude='.gitignore' While the ...
3
votes
1answer
388 views

merge all tar files on mac

I have a bunch of tar files such as a.tar b.tar. I use the following command to merge two tar files : tar --concatenate --file=a.tar b.tar However, --concatenate is not support on mac terminal ...
0
votes
0answers
276 views

Bad CPU type in executable while typing tar command

recently i have upgraded to mountain lion and there is problem with my tar command, i am not able to unpack my tar files from terminal. when i type tar command in terminal i am geting bash: ...
1
vote
2answers
145 views

How do I undo an incorrect tar command on OSX?

I spent the past weekend creating a VirtualBox instance with the perfect setup. Once I was finished I tried to tar+gzipi the virtualbox for sharing with others, and I accidentally ran the following: ...
1
vote
2answers
535 views

chdir warning when opening .tar file on OS X

I need to unarchive a file to the /Developer folder. Install Qt for iOS SDK The Qt for iOS SDK has been configured to be installed in the default Xcode installation location /Developer. It ...
2
votes
2answers
5k views

Untar a given linux tarball on MAC OS X

I have a Linux tarball that can't be unpacked. It gives me an unexpected error. I am told this is due to case insensitive on MAC OS X. How can I untar this file? tar -zxvf file.tar.gz ... x ...
23
votes
5answers
9k views

Linux / OS X tar incompatibility – tarballs created on OS X give errors when untarred in Linux

When I tar up files on my Macbook and untar them in Linux, I repeatedly get the following warnings/errors: tar: Ignoring unknown extended header keyword `SCHILY.ino' tar: Ignoring unknown extended ...
5
votes
2answers
6k views

What is the fastest compression method for a large number of files?

I need to compress a directory with around 350,000 fairly small files that amount to about 100GB total. I am using OSX and am currently using the standard "Compress" tool that converts this directory ...
15
votes
3answers
4k views

Get mac tar to stop putting ._* filenames in tar archives [duplicate]

Possible Duplicate: Why do I get files like ._foo in my tarball on OS X? I create autoconf scripts on a Mac. When tar runs, it puts all of these ._foobar names in the archive: ...
0
votes
4answers
5k views

tar.gz won't extract on Mac OS X

Why is this not working? sh-3.2# tar -xzf postgresql-7.4.28.tar.gz gzip: stdin: not in gzip format tar: Child returned status 1 tar: Error exit delayed from previous errors
4
votes
3answers
2k views

how do I use tar -C on Snow Leopard when creating an archive?

The man page states -C directory In c and r mode, this changes the directory before adding the following files. However, tar does not change to the directory I specify, but instead reports ...
0
votes
1answer
297 views

Can you open a tarball on Mac OS X in the GUI?

If I send a tar.gz file to a Mac OS X user, will they be able to open it in the GUI, just like a zip file?
21
votes
5answers
7k views

Why do I get files like ._foo in my tarball on OS X?

When I tar certain files in OS X: tar cvf foo.tar foo It produces an extra file ._foo in the tarball: ./._foo foo which only shows up if I extract it on a non-Mac operating system. But ._foo ...
46
votes
15answers
39k views

Untar, ungz, gz, tar - how do you remember all the useful options?

I am pretty sure I am not the only one with the following problem: every time I need to uncompress a file in *nix I can't remember all the switches, and end up googling it, which is surprizing ...