Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
I want to download hundreds of files from some website to my own server using ssh, the remote files are in series: 0001.jpg : 0900.jpg
how to do this ?
thanks
If you only have HTTP access then I don't understand why you say you want to use SSH...
Here's how to do it over HTTP:
curl -f -O http:www.example.com/folder/image[0001-0900].jpg
scp accepts wildcards.
ie:
scp user#host:/path/* ./path/to/files/locally/
you can use scp with your username and password on remote server.
Related
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 3 years ago.
Improve this question
I am trying to access my local variable in remote server. Which command should I use.
Ex.
cmd:
SERVER 1
VAR=2
ssh unix-user#remote-server-name "bash abc.sh"
REMOTE SERVER:
cat abc.sh
echo $VAR
output should get 2.
Set the variable directly on the remote side:
ssh unix-user#remote-server-name "export VAR=2; bash abc.sh"
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
How can I remove a non-empty directory with smbclient?
You probably cannot do this with smbclient. If you have superuser (a.k.a. root) access right on the local computer, you can mount remote directory using smbmount and then delete files from it using rm -Rf.
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
Here is the command I'm running
rsync -av -e ssh httpdocs user#ipaddress:httpdocs
but that misses out hidden files like .htaccess ?
Any help appreciated !
Rich :)
With rsync all subdirectories and files will be automaticaly copied. You need not additional keys or options to copy hidden files.
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
Totally new to Linux, have an Arch Linux machine up. What is the command I can execute on the console to download a web page in the console?
Thanks
Is wget installed?
wget http://http://stackoverflow.com/questions/9320913/how-do-you-download-a-web-page-in-arch-linux
If You want download whole page to the disc, good practice is use wget with options -k -r -p:
wget -k -r -p http://http://stackoverflow.com/questions/9320913/how-do-you-download-a-web-page-in-arch-linux
This command is downloading recursively all the files that are necessary to properly display a given html page and convert the links to make them suitable for local viewing.
try wget see http://linux.die.net/man/1/wget
wget
curl is another good option. Have fun with Linux!
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
I've lammp (xampp for linux) installed on my machine.
I used "ps aux | grep httpd" to get what my apache act as...?
And I get "nobody" on there...
What actually nobody means?
And, how can I change the owner of folder and it's all subs...?
Thank's before... :)
nobody is just as it sounds; a user with minimal permissions.
chown can be used to change ownership of a filesystem object. Passing -R will make it recursive (use with caution).