Ensel Sharon wrote:
(FreeBSD 6.0-RELEASE)

I cannot move a file, over ssh, with wildcards:

# ssh [EMAIL PROTECTED] mv /dir/file*.wav /dir2
ssh: No match.

Ok, so I quote it:

# ssh [EMAIL PROTECTED] mv "/dir/file*.wav" /dir2
Password:
mv: rename /dir/file*.wav to /dir2/*.wav: No such file or directory

I even tried single quoting both paths, and just double quoting the
file*.wav

Nothing works.

Is it possible to move with wildcards over ssh ?

Try:

   ssh [EMAIL PROTECTED] /bin/sh "mv /dir/file*.wav /dir2"

--
-Chuck

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to