On 26/05/2006 16:53, 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 ?
Your local shell gets the '*' first. Try escaping it with '\': $ ssh [EMAIL PROTECTED] mv /dir/file\*.wav /dir2 HTH, Karol -- Karol Kwiatkowski <freebsd at orchid dot homeunix dot org> OpenPGP: http://www.orchid.homeunix.org/carlos/gpg/0x06E09309.asc
signature.asc
Description: OpenPGP digital signature