I am using rsync to create nightly incremental backups and creating tar balls of these.
Just last night I logged into the n4f via pptp on my wintop, copied across one of the said tar balls (using WinSCP) then tried to open it via 7-Zip file manager which resulted in an error message. The same thing happened with WinZip ie complained about broken file.
I made sure WInSCP was using binary mode but it made no difference.
Copying across a tar ball from a linux box on the same network and using the method above works perfectly.
Is there something about bsdtar that I need to know about?
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
FIXED: Turns out that it was the way I was passing options to bsdtar
My script had ;
Code: Select all
# tar -cfz tarfile.tar.gz /directory/iwantCode: Select all
# tar cfz tarfile.tar.gz /directory/iwant
