Search Results

Search: Posts Made By: Yoda
6,249
Posted By Yoda
Use find command to gather the list of all...
Use find command to gather the list of all sub-directories or files:
for dir in $( find . -type d )
do
....
done
OR
for file in $( find . -type f )
do
....
done
6,249
Posted By Yoda
Is this what you are trying to acheive? for...
Is this what you are trying to acheive?
for dir in A B C
do
mkdir -p ${dir}/data; mkdir -p ${dir}/count; mkdir -p ${dir}/count/result;
done
Showing results 1 to 2 of 2

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