Posted By

pmaciver on 10/03/08


find exec

Versions (?)

Find a file and execute something on it

 / Published in: Bash

  1. find . -type f -exec file{}’ \;

Report this snippet  


RSS Icon Subscribe to comments
Posted By: pmaciver on April 14, 2009

exec until the forward slash is the command to execute.

the '{}' is a substitution for the file

You need to login to post a comment.