Syntax :
fdupes [ options ] DIRECTORY
The -r option will search sub-directories recursively. Look up the MAN page for some other useful options.
I use this blog as a sort of memo or notes to myself. It's mainly code that I have been using during my PhD thesis and that I hope other people could find useful as well. I gathered and borrowed pieces of code from various sources to answer what seemed simple and trivial problems at first, and which turned out to be a pain! So here are a few tips and tricks.
fdupes [ options ] DIRECTORY
pdf(file='myfile.pdf')
## my lattice plot code
dev.off()
$ gs -sOutputFile=output.pdf -sDEVICE=pdfwrite -sColorConversionStrategy=Gray -dProcessColorModel=/DeviceGray -dCompatibilityLevel=1.4 myfile.pdf < /dev/null