What would be the command to open ALL PDF files in a specific folder in a specific app (Preview for example)

thanks very much for your time and help

If the folder contains only PDFs, then

open -a Preview.app ~/Desktop/someFolder

and to choose only the pdfs from among other file types in the folder:

open -a Preview.app ~/Desktop/someFolder/*.pdf

PS for more details about file-opening options and switches, you could try the Terminal.app (Bash) man command, with something like:

man -t "open" | pstopdf -l -i -o ~/Desktop/open.pdf
open -a Preview ~/Desktop/open.pdf

See: Generate a PDF copy of the man page for a shell command

1 Like

thanks very much !