I can not "wildcard copy" files from USB drive to MX150 file system
I want to load many text files at once from my USB drive to a MX150 file system.
I followed the hints on KB32657 but the router does not accept my attempt to copy many files at once. Actually KB32657 only explains how to copy a file with its specific name to the router file system, not a bunch of files at once.
If I try to copy files with their complete name, as in KB32657, this works.
Re: I can not "wildcard copy" files from USB drive to MX150 file system
It's happening as it's your local shell which evaluates the "*" - you need to escape it via the use of backslash. Otherwise the "*" is not used in the remote end of the scp session.
% scp firstname.lastname@example.org:/var/tmp/* /var/tmp/
scp: No match.
% scp email@example.com:/var/tmp/\* /var/tmp/
scp: /var/tmp/gres-tp: not a regular file
scp: /var/tmp/install: not a regular file
/var/tmp//krt_rpf_filter.txt: Permission denied
/var/tmp//pfe_debug_commands: Permission denied
scp: /var/tmp/pics: not a regular file
scp: /var/tmp/rtsdb: not a regular file
scp: /var/tmp/vi.recover: not a regular file