Closed darealshinji closed 11 years ago
OK, it should be trivial enough (without looking at the code) to be able to disable recursion. I want to keep it on by default as this is my expected behaviour and naturally how it behaves currently.
If more people want this with a configurable recursion depth then I could make it more fancy.
One thing that could be implemented would be an option to not read the files in the sub-directories. I mean something like this:
!/bin/bash
find * -maxdepth 0 -type f | while read file do crc32=
crc32 "$file"
name=basename "${file}"
echo "$crc32 $name" doneAnother example would be the command line program cfv, which allows to enable or disable recursive mode.
Hope you keep up the good work!