Skip to content

Instantly share code, notes, and snippets.

View RichardGomer's full-sized avatar

Richard Gomer RichardGomer

View GitHub Profile
@RichardGomer
RichardGomer / gops.sh
Last active July 14, 2020 15:39
Gather (copies of) open PDF files into a directory. Useful for putting all those open PDFs into Mendeley!
#!/bin/bash
# Gather open PDFs
# Gathers (copies of) all open PDF files into ~/gathered/ and opens it in the file manager
# Add an alias for easy operation!
# Clear out the folder, create if reqd
mkdir ~/gathered
#rm gathered/* -Rf