Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 7503

Beginners • Copy file from raspberry pi to computer then delete it?

$
0
0
I have a .bat file on my PC in a folder that when I run it it copies a file to that folder from my raspberry pi.

What do I add to the bat file to subsequentially delete that file from the raspberry pi?

Code:

scp pi@192.168.0.51:/home/pi/test/test.log .

Statistics: Posted by sandy70 — Wed Feb 21, 2024 11:20 am — Replies 1 — Views 47



Viewing all articles
Browse latest Browse all 7503

Trending Articles