Mein Code sieht wie folgt aus:
Code: Alles auswählen
import glob, shutil
source = "mtp://[usb:001,025]/Phone/Pictures/Ballons" and "mtp://[usb:001,025]/Phone/Pictures/Familie" and "mtp://[usb:001,025]/Phone/Pictures/Florida" and "mtp://[usb:001,025]/Phone/Pictures/Ramona" and "mtp://[usb:001,025]/Phone/Pictures/Screenshots"
dest = "/home/pi/Desktop/Photos/"
for file in glob.glob(source + "/*.jpg"):
shutil.copy(file, dest)
Erkennt hier irgendjemand den Fehler?