I am trying to copy specific files from one OS to another.
I have two major issues using scp.
This syntax alone creates another folder - resulting in /usr/lib/arm-linux-gnueabihf/arm-linux-gnueabihf - on the destination and copies "stuff" to it until I stop it ( I think -r is part ot the issue )
sudo scp -r [email protected]:/usr/lib/arm-linux-gnueabihf/ /usr/lib/arm-linux-gnueabihf/
That is not of a majoir isse - I cam move the desired files around later.
What I really want is to scp specific files such as *bluetooth" .
I do not know how to option scp to do that .
qw@qw-desktop:/usr/lib/arm-linux-gnueabihf$ sudo scp [email protected]:/usr/lib/arm-linux-gnueabihf/libbluetooth* /usr/lib/arm-linux-gnueabihf/
[email protected]'s password:
scp: /usr/lib/arm-linux-gnueabihf: not a regular file
cp: cannot stat 'libbluetooth*': No such file or directory
qw@qw-desktop:/usr/lib/arm-linux-gnueabihf$ sudo scp [email protected]:/usr/lib/arm-linux-gnueabihf/ *libbluetooth* /usr/lib/arm-linux-gnueabihf/
[email protected]'s password:
scp: /usr/lib/arm-linux-gnueabihf: not a regular file
cp: cannot stat '*libbluetooth*': No such file or directory
qw@qw-desktop:/usr/lib/arm-linux-gnueabihf$
I have two major issues using scp.
This syntax alone creates another folder - resulting in /usr/lib/arm-linux-gnueabihf/arm-linux-gnueabihf - on the destination and copies "stuff" to it until I stop it ( I think -r is part ot the issue )
sudo scp -r [email protected]:/usr/lib/arm-linux-gnueabihf/ /usr/lib/arm-linux-gnueabihf/
That is not of a majoir isse - I cam move the desired files around later.
What I really want is to scp specific files such as *bluetooth" .
I do not know how to option scp to do that .
qw@qw-desktop:/usr/lib/arm-linux-gnueabihf$ sudo scp [email protected]:/usr/lib/arm-linux-gnueabihf/libbluetooth* /usr/lib/arm-linux-gnueabihf/
[email protected]'s password:
scp: /usr/lib/arm-linux-gnueabihf: not a regular file
cp: cannot stat 'libbluetooth*': No such file or directory
qw@qw-desktop:/usr/lib/arm-linux-gnueabihf$ sudo scp [email protected]:/usr/lib/arm-linux-gnueabihf/ *libbluetooth* /usr/lib/arm-linux-gnueabihf/
[email protected]'s password:
scp: /usr/lib/arm-linux-gnueabihf: not a regular file
cp: cannot stat '*libbluetooth*': No such file or directory
qw@qw-desktop:/usr/lib/arm-linux-gnueabihf$