On Wed, Aug 30, 2006 at 11:06:39AM -0400, Ensel Sharon wrote: > I want to delete some remote files with a wildcard, running 'rm' over ssh. > [...] > So what is the _right_ way to do this ? ssh user at host 'sh -c "rm -rf "/some/testdir/*"' As * has to be expanded before is sent to rm. Bye. -- * Pillon Matteo