A script to automatically change a large number of files - Python or something of similar difficulty.

Closed job
no avatar
DarekK
Employer
1 deal
Job category:
Desktop/web applications
Expected budget:

Negotiable

Published:
Valid until:

Job description

Input is x zip files.

Files to be unzipped with password.

Each file named by name.

Windows environment.

Operation of the script.

We place the script manually in the directory with the zip files.

After running, the script asks for a password (each file has an identical password) and unzips the zip files, each to a separate directory with a name identical to the zip file.

Inside the directory, after unzipping, there is one pdf file and one docx file.

The script then deletes the docx file and retrieves the recorded date and time from the contents of the pdf file (all pdf files are based on the same form, so identifying the field to read is made easier).

The script then renames each directory, adding the date and time read from the pdf before the previous name.

Finally, the script deletes the zip files.

Any script environment with emphasis on something simple, such as python.

The order should include the source code and, if necessary, compilation instructions after any subsequent changes.

Required functions:

Attached files