rizos
October 14th, 2018, 06:23 AM
i need to rename 250 doc files with different file names each one of them (word documents) , and need to be able to rename all files according to the title of the document.
is there a way to do this?
TheFu
October 14th, 2018, 11:10 AM
Can you get the title out through some program?
https://stackoverflow.com/questions/5671988/how-to-extract-just-plain-text-from-doc-docx-files-unix has some options.
If you can, then you could use that solution to make a script that looks something like this:
mv filename-1.doc "title of the doc-filename-1.doc"
mv filename-250.doc "title of the doc-filename-250.doc"
Might want to check if the new filename exists before renaming.
Basically, you'd script something to make a rename script.
Powered by vBulletin® Version 4.2.2 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.