With 1.7 million freelancers, we'll match you with the perfect talent.
The client has made the following changes to the job.
Client prefers freelancers from:
You are still able to submit a proposal for this job.
The client prefers freelancers from
a different location.
I would like a script coded in python that creates folders and moves files to them.
I have a folder that has 3 sub folders in it. Each of those sub folders has files named
all of them are in groups of 4. I would like a script that would create folders for each number so it would create a folder called 1 with abc-1@2x~iphone.png, abc-1@2x~ipad.png, abc-1~ipad.png and abc-1~iphone.png in it. Then it would create a folder called 2 with abc-2@2x~iphone.png, abc-2@2x~ipad.png, abc-2~ipad.png and abc-2~iphone.png in it. etc..
The beginning of the file name will be different every time but the number before the @ or ~ will always be the same so you are organizing based on that.
This script needs to be able to go multiple levels down in the folder structure and handles 1000's of files at once.
Sign in or Register to see more