Skip to content

Instantly share code, notes, and snippets.

View violetguos's full-sized avatar

Violet Guo violetguos

View GitHub Profile
@violetguos
violetguos / arxiv_id_to_name.py
Created April 21, 2020 21:31 — forked from lebrice/arxiv_id_to_name.py
A simple tool to add the name of downloaded paper pdf's in front of the id. Also removes duplicate downloads of the same arxiv paper.
"""A simple tool to add the name of downloaded paper pdf's in front of the id.
(Written by [email protected])
If there are multiple downloads of same paper, replaces the original with the
latest download. This can be useful in a downloads folder filled with copies.
For instance:
"""
import glob