I am currently trying to compress a directory by using the tar command, however for some reason it doesn't seem to work properly.
I've used this command before on a VPS, so I have experience with using it. I'm trying to transfer files over from my old machine to a new one, yet when I go to compress it, it says this:
tar: Removing leading `/' from member names
The command executed is: tar -czf hub-backup-11-07-17.tar.gz {DIRECTORY}
Obviously with {DIRECTORY} replaced with my target file.
Once I've executed the command, the cursor just sits still like in the image, not moving. I've tried leaving it like this until the window times out, but the file is always corrupted. I tried adding -P to the end of the command too. All that did was remove the tar: Removing leading '/' from member names message, but other than that it did the same thing.
Thanks
taris busy creating your archive. Use the-vswitch if you want it to be more verbose. The messagetar: Removing leading '/' from member namesis not an error,tarjust removes full paths, probably so it can properly unpack. – Centimane Jul 11 '17 at 11:13