Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 May 2006 10:53:23 -0400 (EDT)
From:      Ensel Sharon <user@dhp.com>
To:        freebsd-questions@freebsd.org
Subject:   remote file moves, over SSH, with wildcards ... help needed.
Message-ID:  <Pine.LNX.4.21.0605261043440.24656-100000@shell.dhp.com>

next in thread | raw e-mail | index | archive | help

(FreeBSD 6.0-RELEASE)

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

# ssh user@host.com mv /dir/file*.wav /dir2
ssh: No match.

Ok, so I quote it:

# ssh user@host.com 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 ?




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.21.0605261043440.24656-100000>