1
vote
1answer
112 views

How to create and split a tar archive and send the results to my server?

I would like to create a .tar backup of some files on my laptop and send them to my server. My laptop's HDD is not large enough to hold both the original and backup copy of the file. I would like to ...
0
votes
1answer
604 views

Creating a tar with a absolute path

tar -cf /Users/Files/myfile.tar /Users/Files/ I am basically trying to create a tar containing the contents of User/Files and create it in the folder of the contents. I can only execute this ...
0
votes
2answers
869 views

tar piped to curl: This does not look like a tar archive

curl -L http://download.transmissionbt.com/files/transmission-2.80.tar.xz -s -o - | tar -xf - The error: tar: This does not look like a tar archive tar: Skipping to next header tar: Exiting with ...
-1
votes
1answer
171 views

When I extract a tar file, all the files/folders have 777 permissions

I run Debian. I have a tar archive that, when extracted, assigns 777 permissions to all files/folders in it. I believe this has to do with the fact that I'm root, but is there a way to make it so they ...
2
votes
6answers
6k views

how to copy entire linux root filesystem to new hard drive on with ssh and tar

I know I've found this information before, but can't remember the right google query. I need to transfer an entire linux root filesystem off of a failing hard drive onto another computer with an ...
0
votes
1answer
190 views

How do I use tar to transfer through ssh on a non standard port?

I am trying to transfer all files from within a directory through tar as follows: tar cz * | ssh -p 57310 root@example.com tar xzv -C /home/site/www and the error that is returned is stdin: is not ...
0
votes
0answers
77 views

script on a remote machine that archive files fails

I have a simple script (Given below) on a machine that collect files from several folders into a single one and then archive it. The script works as expected on the remote machine. When I run it via ...
1
vote
1answer
552 views

Can I stop a netcat tar pipe and continue later without overriding existing files?

I'm trying to copy a lot of files from my NAS to my server, about 2TB. I found that using a netcat tar pipe to copy the directories goes pretty fast, about 40mb/s. It seems to work faster than rsync ...
0
votes
3answers
11k views

How do I compress the contents of a folder using 'tar' over SSH?

How do I compress the contents of a folder using the tar command on an Unix system over SSH?
2
votes
2answers
729 views

Transfer using linux ssh and maintaining permissions

I need to transfer files across ssh to another server. The file structures are identical on both sides. I have used scp -r but that does not retain the orginal file/dir permissions. rsync does the job ...