photographer24
Registered
Hello everyone,
I have a problem with the tar command. What I want to achieve is to make a backup of some files on one external hard drive (which has a capacity of 1TB and is formatted as FAT) to another external hard drive (500GB, FAT), and compress it in some way (preferably bzip2 to save space). To do this, I am using this command:
/Volumes/FOTOS $ tar cjfv /Volumes/fotobackup/fotos-20130209.tar.bz2 Fotos/
The files are mostly JPEG, some CR2 (Canon RAW), some MOV and THM and some CR2.xmp (created by darktable).
The problem is that, after a certain file, I get an error message like:
a Fotos/2013/02/07/IMG_1578.CR2tar: Write error
and tar terminates. I tried moving that file out of that directory, but then it happens with the next file (even if it's in another directory, so even moving away everything from 2013/02/07/ after the last working file didn't help).
It always happens after the same file, even if I try several times. I'm on OS X 10.8.2 on a Mid 2012 13 inch MacBook Air with German-language localization. It hasn't worked when using gzip instead of bzip2 either.
Do you have any idea how I could prevent this error and make it work? I would be very grateful.
I have a problem with the tar command. What I want to achieve is to make a backup of some files on one external hard drive (which has a capacity of 1TB and is formatted as FAT) to another external hard drive (500GB, FAT), and compress it in some way (preferably bzip2 to save space). To do this, I am using this command:
/Volumes/FOTOS $ tar cjfv /Volumes/fotobackup/fotos-20130209.tar.bz2 Fotos/
The files are mostly JPEG, some CR2 (Canon RAW), some MOV and THM and some CR2.xmp (created by darktable).
The problem is that, after a certain file, I get an error message like:
a Fotos/2013/02/07/IMG_1578.CR2tar: Write error
and tar terminates. I tried moving that file out of that directory, but then it happens with the next file (even if it's in another directory, so even moving away everything from 2013/02/07/ after the last working file didn't help).
It always happens after the same file, even if I try several times. I'm on OS X 10.8.2 on a Mid 2012 13 inch MacBook Air with German-language localization. It hasn't worked when using gzip instead of bzip2 either.
Do you have any idea how I could prevent this error and make it work? I would be very grateful.
Last edited: