Hi. Is it possible to compress a folder and create a .zip on my server through a command in terminal via FTP? Is there a archive command? Thanks.
A:
Hi Alex! Welcome to stackoverflow.
What I believe you want to do is ssh onto your server and use the tar command.
tar -cf archive.tar contents/
Takes everything from contents/ and puts it into archive.tar
Bruno
2010-02-23 14:33:22