Link to home
Start Free TrialLog in
Avatar of CalmSoul
CalmSoulFlag for United States of America

asked on

python script - move files

Hello Experts:

I am looking for python script to move files from folder1 to folder2... But I only want to move 500K files from folder1 at one time.

In folder1 I have 4million files...

Please assist
Avatar of aikimark
aikimark
Flag of United States of America image

What operating system?
Is there some scheme for the file names to be moved?
How much delay between file copy operations?
Are there any other criteria for moving, such as file size or modified date?
Avatar of CalmSoul

ASKER

I am using windows 7
We are moving files...
No delay requirement
Move latest files first
ASKER CERTIFIED SOLUTION
Avatar of aikimark
aikimark
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
can you share robocopy command ? I can try
if you type Robocopy /? at the command prompt, you will see the help text for the command.  You can test the run by having it just list what it would do.
No comment has been added to this question in more than 21 days, so it is now classified as abandoned.

I have recommended this question be closed as follows:

Accept: aikimark (https:#a40919357)

If you feel this question should be closed differently, post an objection and the moderators will review all objections and close it as they feel fit. If no one objects, this question will be closed automatically the way described above.

suhasbharadwaj
Experts-Exchange Cleanup Volunteer