Linux
Using zip via ssh
Submitted by ivan on Sun, 03/08/2008 - 20:53# zip -r drupal.zip html
This zips all files and directories
- -r:Includes all files and directories -> Files
- drupal.zip:The zip file you want to create
- html:The folder you are targetting or use * if your currently in the folder.
Import sql via ssh
Submitted by ivan on Sun, 03/08/2008 - 20:52Here is an example of import sql files from ssh
# mysql -uPutYourUserHere -pPutYourPasswordHere -hlocalhost PutYourUserHere_databaseName < database.sql
# mysql -u username -p dbname < data.sql

