| migrate image_uploads to cloud from local through scp :
|
|
|
|
6. go to the folder where you downloaded through git terminal (ex C:\Documents and Settings\Administrator\My Documents\Downloads)
|
|
|
|
7. type this command.
|
|
scp filename newserver:/path/to/file/filename
|
|
ex.scp image_uploads.tar.gz deploy@184.73.180.246:/data/pairworks/shared/image_uploads.tar.gz
|
|
|
|
8.unzip the file using command -- gunzip -v filename (ex. gunzip -v image_uploads.tar.gz)
|
|
9.after gunzip, you will find the filname in the current working directory with .tar extension(ex.image_uploads.tar)
|
|
10.unpack the tar file using command -- tar -xvf filename (ex.tar -xvf image_uploads.tar)
|