{"id":16717841,"url":"https://github.com/xoolive/pdfrename","last_synced_at":"2025-07-06T12:38:48.905Z","repository":{"id":57451460,"uuid":"95481091","full_name":"xoolive/pdfrename","owner":"xoolive","description":"A tool for renaming a batch of pdf files","archived":false,"fork":false,"pushed_at":"2018-05-20T22:01:22.000Z","size":5,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-23T08:05:15.580Z","etag":null,"topics":["pdf","python","python-library","tools"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/xoolive.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"license.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-06-26T19:18:07.000Z","updated_at":"2022-06-10T20:52:55.000Z","dependencies_parsed_at":"2022-09-04T11:21:59.912Z","dependency_job_id":null,"html_url":"https://github.com/xoolive/pdfrename","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xoolive%2Fpdfrename","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xoolive%2Fpdfrename/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xoolive%2Fpdfrename/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xoolive%2Fpdfrename/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xoolive","download_url":"https://codeload.github.com/xoolive/pdfrename/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238941509,"owners_count":19556010,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["pdf","python","python-library","tools"],"created_at":"2024-10-12T21:34:09.654Z","updated_at":"2025-02-16T22:30:53.150Z","avatar_url":"https://github.com/xoolive.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# A tool for renaming a batch of pdf files\n\n\u003e MIT license, Xavier Olive 2017\n\nThe addressed use case comes the frustration caused by opening tons of pdf files (mainly scientific publications) in order to copy-paste the title and rename the file accordingly.\n\nThe proposed workflow goes as follow:\n```sh\n$ pdfrename *.pdf\nRename '/home/xo/Downloads/1606.04838.pdf' to '/home/xo/Downloads/Optimization Methods for Large-Scale Machine Learning.pdf'? [y/n/j/s/a] \u003e \nChoose among y(es)/n(o)/j(oin)/s(kip)/a(bort) \u003e y\n```\n\nThe script first searches the metadata, then parses each line of the first page of the file to suggest it as a file name.  \nUse `j(oin)` to merge the current suggestion with next line (for papers with a two-line title).\n\n## Installation\n\n**Latest release**:\n```sh\npip install pdfrename\n```\n\nTry `pip install --user pdfrename` if need be.  \nThe executable will be installed in a directory with read/write access.  \nCheck the directory (which depends on your Python installation) is in your `PATH` variable.  \nTry `/usr/local/bin`, `$HOME/.local/bin`, ...\n\n**From source:**\n```sh\npip install git+https://github.com/xoolive/pdfrename\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxoolive%2Fpdfrename","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxoolive%2Fpdfrename","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxoolive%2Fpdfrename/lists"}