art's abode

art.csoft.net

Recursively cat’ing all files in a directory

with one comment

$ cat `find /directoryname -type f`

Written by art

February 21st, 2008 at 12:07 am

Posted in shell

One Response to 'Recursively cat’ing all files in a directory'

Subscribe to comments with RSS or TrackBack to 'Recursively cat’ing all files in a directory'.

  1. $ find /directoryname -type f -exec cat {} \;

    does the same thing but doesn’t need to wait for find to terminate. Just so u know what I’m about.

    Dr. Guildo

    21 Feb 08 at 22:33

Leave a Reply