Hello team:
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.
For example:
root@:~ # scp -JU __juniper_private4__ root@192.168.1.1:/var/tmp/usb/lab4.0-LDP-config.txt /var/tmp/
root@192.168.1.1's password: <I ENTER THE ROUTER´s PASSWORD>
lab4.0-LDP-config.txt 100% 20KB 20.1KB/s 00:00
root@:~ #
Success! But I need to copy 50 different text files to the router 🐵
Since all my files in the USB disk start their names with the "lab" prefix, I attempted to execute the following command, to no avail. See please the following message when I try it:
root@:~ # scp -JU __juniper_private4__ root@192.168.1.1:/var/tmp/usb/lab*.txt /var/tmp/
scp: No match.
root@:~ #
¿ Am I missing a sintax requirement? I expected that the "*" character was going to tell the router to copy all the files on my mounted USB drive if the names match "lab*.txt" :o(
¿ Any ideas?
You help will be greatly appreciated.
Thanks!!!!
Rogelio Alvez
Argentina