We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [fd]

A user-friendly alternative to find command

Filter by
Sorted by
Tagged with
2
votes
1answer
85 views

How to determine if result of process substitution is a file path

If I do this: echo <(cat) I get: /dev/fd/63 so say at the command line I have: myapp -f <(cat) when I run it I get this error: You need to pass a file after the -f flag. The resolved ...
0
votes
0answers
58 views

bifurcate stdout - Send stdout to fd 3 if it's available

We want two stdout streams - one for data another for metadata - instead of sending metadata to stderr - we could send it a 4th fd (3). How would we do that? Here is a bad start: my_progam > <...
2
votes
1answer
78 views

Extract the number of pages of PDFs recursively and dump them to a CSV

I need to get a list of PDFs in various sub-folders of a directory structure and the number of pages of each PDF file. All saved into a CSV file, i.e. <filename>,<number_of_pages>. I have ...