Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: help to delete remote directory  (Read 3518 times)

0 Members and 1 Guest are viewing this topic.

CTKevinK

  • Guest
help to delete remote directory
« on: January 25, 2011, 07:41:34 AM »
Hello,

I am not familiar much with linux and I generally use the tutorials to figure out commands to apply to my web server. However, I need to delete directories on a remote server and I need help in how to point the command to the remote directories rather than the directories on the server I am logged into (the remote server is used for rsync backup and I need to clean it up).

To delete a directory (example = backup), I would do this in the root:

chmod 777 -R backup
rm -rf backup

This will delete the directory on the server I am logged into, but how do I point the command to the remote server instead?

Thanks for any assistance.

HAMID

  • Guest
Re: help to delete remote directory
« Reply #1 on: February 07, 2011, 07:16:52 AM »
hello dear sir