V
V
Vitaly2016-08-08 12:35:40
linux
Vitaly, 2016-08-08 12:35:40

How to copy a file with dd utility from tftp or samba?

All the best! Please tell me how to correctly use the dd utility on linux to copy data from a tftp server (in my case it is mikrotik) and / or from samba (a scrambled folder on windows 7)?
I see examples on the net:

dd if=backup.img | ssh -c blowfish [email protected]  | dd of=/dev/sdb bs=64k"

But will this work with tftp or samba ?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
S
SergeySL, 2016-08-08
@SergeySL

dd is for other purposes. Look at tftp (1st case) and cp (2nd).

L
ldv, 2016-08-08
@ldvldv

Mount the samba share and then dd if=/mnt/share/file.img of=/dev/sdb bs=64k

N
Nikolai Romanovich, 2016-08-08
@MikalaiR

curl t ftp://server/path | ddof=/dev/device

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question