sgadmin created the topic: My Shell Script Usage Collection
Count Total number of files in Directory and Subdirectory
> find . -type f | wc –l
Count Specific extention files in Directory and Subdirectory
> find . -type f -name \*.mnp |wc –l
Count only Directory
> find . -type d | wc –l
Latest posts by scmgalaxy K (see all)
- Use of runtime variables to save into another variable using register in Ansible - September 6, 2018
- Ansible & Ansible Tower Variable Precedence Hierarchy - September 6, 2018
- How to use template in Ansible? - September 6, 2018