2>&1 pipes stderr to stdout, which would not affect a binary like file which doesn't parse stdin. You would need something like xargs file which would convert the stdout to command line arguments.
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
replies: