More information about the Underscore mailing list

[_] backing up a web server - long filenames problem OSX

Richard Price richardprice at gmail.com
Thu Aug 7 22:08:05 BST 2008

>
> jon
> ps: I'm still quite new to the command line, if there are better ways
> I'd love to know!
>

Run the tar command remotely:

ssh  user at 1.1.1.1 sudo tar -czvf /path/to/destination/file/to.tgz
/path/to/source/dir

then run the copy command:

scp user at 1.1.1.1:/path/to/destination/file/to.tgz .

Job done.

Richard