This may be a simple question, but how do I use files starting with "-" with command line programs?
For example, I am trying to use pdfgrep
on a file named -2013-01-01.pdf
but it complains that there are no options defined for 2, 0, 1, 3 and so on.
Changing the filename to something that does not start with "-" solves it, but this is not an option since the files aren't created by me. I simply want to check for a specific change I know is coming.