Reputation: 1774
I wrote a such script in bash
#!/bin/bash
TEMP="/home/pi/project/temp/"
TARGET="/home/pi/project/deployed/"
cp -au $TEMP/. $TARGET
I figured out how to copy files but it takes so long time :( I my temp directory I have changed only one file and
cp -au $TEMP/. $TARGET
is coping all files and overwriting them!
Upvotes: 0
Views: 36