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 [EMAIL PROTECTED] 'sh -c "rm -rf "/some/testdir/*"' As * has to be expanded before is sent to rm. Bye. -- * Pillon Matteo _______________________________________________ email@example.com mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"