I made a tar with a directory on a remote machine with:
tar -czvf
I scp it to my local machine, where I wanted to untar it:
tar -xzvf
But I get : Cannot open: File name too long
On my local machine on lubuntu 12.04 I have: tar (GNU tar) 1.26
.
The remote machine is not accessible right now, I'll check the version after if needed.
I would like to extract without having to make a new tar, especially since the remote machine is offline.
And by the way if you know a way to make proper archive despite long name, I'll take it.
rsync
instead ofscp
andtar
.rsync
can transfer in compressed format by setting the right flags.tar: [...] Cannot mkdir: File name too long
. Appeared on an encrypted filesystem when uncompressing a tar taken on a non-encrypted filesystem.