|
#1
| |||
| |||
| Empty Remote Folder Via Shell Script I want to empty a folder on a web server via shell script. My current code doesn't work. Code: rm myusername@ssh.mydomain.com:./public_html/images/*.* |
|
#2
| ||||
| ||||
| Howabout using ssh to execute a remote command? Code: ssh myusername@somesite.com 'rm ./public_html/images/*.* && exit'
__________________ Power Macintosh G4/500MHz "Yikes!" 10.4.11 Server • 1024MB • 3 x 120GB + 320GB • DVR-111D • 2 x Radeon 7000 PCI • 2 x 17" CRT MacBook 2.0GHz Core 2 Duo - White 10.5.5 • 2048MB • 80GB • CD-RW/DVD-ROM iPod Photo 60GB • iPod nano 1GB • AT&T DSL 6Mb/768k http://www.jeffhoppe.com |
|
#3
| |||
| |||
| bump up .. |