diff --git a/README.md b/README.md index 2473c90..8c51fb5 100644 --- a/README.md +++ b/README.md @@ -23,12 +23,9 @@ BiblioManager will always use standard formats such as BibTeX, so that you can e ## Current status -* Able to import a PDF / djvu file, automagically find the DOI / ISBN, get the bibtex entry back and add it to the library. If DOI / ISBN search fails, it will prompt you for it. -* Able to download a URL, using any specified proxy (you can list many and it will try all of them) and store the pdf file with its metadata. - Should be almost working and usable now, although still to be considered as **experimental**. It can be **broken** at **any commit** and not repaired for a few days. I will update this when I will have a version that I can consider to be “stable”. -**Important note :** I use it for personal use, but I don't read articles from many journals. If you find any file which is not working, please fill an issue or send me an e-mail with the relevant information. There are alternative ways to get the metadata for example, and I didn't know really which one was the best one as writing this code. +**Important note :** I use it for personal use, but I don't read articles from many journals. If you find any file which is not working, please fill an issue or send me an e-mail with the relevant information. There are alternative ways to get the metadata for example, and I didn't know really which one was the best one as writing this code. Please do backups regularly if using this. I could not be held responsible for any loss of papers. * Import @@ -40,7 +37,7 @@ Should be almost working and usable now, although still to be considered as **ex * Edit * working: all * List - * TODO + * working * Search * TODO * Open @@ -83,7 +80,7 @@ TODO ### List all entries -TODO +Run `./main.py list` to list all the papers in your paper folder. ### Edit entries diff --git a/main.py b/main.py index 817a479..7ff5286 100755 --- a/main.py +++ b/main.py @@ -509,7 +509,13 @@ if __name__ == '__main__': sys.exit() elif args.func == 'list': - raise Exception('TODO') + listPapers = tools.listDir(params.folder) + listPapers.sort() + + for paper in listPapers: + if tools.getExtension(paper) not in [".pdf", ".djvu"]: + continue + print(paper) elif args.func == 'search': raise Exception('TODO')