Welcome to the Linux Foundation Forum!

scp help

I'm not new to linux but am new to the CL, I'm learning to scp files and folders I have 2 pc running on the same router Pc A has all my files snd that the Pc i'm using to send the files, SSH is install on both PC's and it work fine ok I seem to be doing something wrong I want to send my Music folder from pc1 to pc2 when i try it it send what look like a ton mata data , here the command I run scp -r -C /home/ Music pc2@192.168.0.xxx:/home/pc2/Music

this is a sample of what I get
history.json 100% 10 8.9KB/s 00:00
passwords.json 100% 10 1.0KB/s 00:00
addons.json 100% 50 47.1KB/s 00:00
tabs.json 100% 10 8.3KB/s 00:00
extension-storage.json 100% 10 0.5KB/s 00:00
clients.json 100% 10 9.8KB/s 00:00
prefs.json 100% 10 0.7KB/s 00:00
forms.json 100% 10 6.9KB/s 00:00
bookmarks.json 100% 10 8.9KB/s 00:00
history.json 100% 10 1.6KB/s 00:00
passwords.json 100% 10 9.5KB/s 00:00
addons.json 100% 10 8.7KB/s 00:00
tabs.json 100% 10 10.0KB/s 00:00
extension-storage.json 100% 10 7.5KB/s 00:00
clients.json 100% 2 1.8KB/s 00:00
forms.json 100% 2 1.8KB/s 00:00
history.json 100% 541 385.1KB/s 00:00
passwords.json 100% 2 1.7KB/s 00:00
addons.json 100% 2 1.9KB/s 00:00
addonsreconciler.json 100% 5764 2.9MB/s 00:00
broadcast-listeners.json 100% 216 187.2KB/s 00:00
cert9.db 100% 224KB 6.2MB/s 00:00
storage.js 100% 25KB 679.0KB/s 00:00
storage.js 100% 1525KB 16.1MB/s 00:00
storage.js 100% 0 0.0KB/s 00:00
storage.js 100% 133KB 5.3MB/s 00:00
storage.js

Comments

  • rsync -avz --delete --force /home/Music pc2@192.168.0.xxx:/home/pc2/Music

  • I agree with the darkwizard that you should look up how to use the rsync command. For scp when you're having issues you can get more information by adding a -v argument. If your issue is still not addressed you can increase the verbosity level by adding a second v character or a -vv which will give more information fed to the terminal screen. And finally, there's -vvv for the full debugging verbosity.

    You will need to be able to scroll back through the output or add a |less if the scroll back isn't possible.

Categories

Upcoming Training