Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python move

import shutil
import os
 
file_source = 'Path/Of/Directory'
file_destination = 'Path/Of/Directory'
 
get_files = os.listdir(file_source)
 
for g in get_files:
    shutil.move(file_source + g, file_destination)
Source by www.delftstack.com #
 
PREVIOUS NEXT
Tagged: #python #move
ADD COMMENT
Topic
Name
5+8 =