![]() Note: Before running the aforementioned compound command: name "*.filetype" -print0) & echo "$total" ![]() The following compound command, albeit somewhat verbose, guarantees an accurate count because it handles filenames that contain newlines correctly: total=0 while read -rd '' do ((total++)) done < <(find.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |