Use cp command to copy multiple files from a directory
cp /home/usr/dir/{file1,file2,file3,file4} /home/usr/destination/
Use cp command to copy multiple files from a directory
cp /home/usr/dir/{file1,file2,file3,file4} /home/usr/destination/
copy multiple files from one folder to another folder
import shutil
import os
os.chdir('source_image_dir_path')
dst_dir = "your_destination_dir_path"
for f in os.listdir():
shutil.copy(f, dst_dir)
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us