Say I have a *.zip file, and want to use the unzipped files - more precisely the filenames - directly as input to another command in the terminal. How could this be accomplished?
An example:
- I have a zip-file containing several pdf-files
- I want to merge the pdf-files to one, using e.g. ghostscript
gs -sDEVICE=pdfwriter -sOutputFile=out.pdf <pdf-files from zip>