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

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



Viewing all articles
Browse latest Browse all 5174

Trending Articles