Computer Hope

Software => BSD, Linux, and Unix => Topic started by: CTKevinK on January 25, 2011, 07:41:34 AM

Title: help to delete remote directory
Post by: CTKevinK 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.
Title: Re: help to delete remote directory
Post by: HAMID on February 07, 2011, 07:16:52 AM
hello dear sir