Search Results

Search: Posts Made By: brandonpal
3,642
Posted By brandonpal
:S that got me 0 22 it should be 9 22
:S that got me 0 22

it should be 9 22
3,642
Posted By brandonpal
Sadly this is not working still giving me a count...
Sadly this is not working still giving me a count including $2 I can't subtract 1 from the result as it does not pass the check.
3,642
Posted By brandonpal
Find Directory help
Hey All,

New to Bash Scripting I have a find command to count the current directories it is:

dirCount=`find $2/ -type d | wc -l`

What I get is a count of all directories in $2 as well as $2...
Showing results 1 to 3 of 3

 
All times are GMT -4. The time now is 07:29 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy