Search Results

Search: Posts Made By: NoobProgrammer
4,360
Posted By NoobProgrammer
Solved
Thanks adderek. Your solution fixed everything.

Here is the final code:
for file_or_directory in *;do
[[ -d "${file_or_directory}" ]] && {
cd "${file_or_directory}"
echo...
4,360
Posted By NoobProgrammer
executing command from subdirectories
Hello,

I've been trying to run 'ls -1R | wc -l' inside of sub directories to in order to determine how big each folder is.


find . -maxdepth 1 -type d | while read folder

do
cd...
Showing results 1 to 2 of 2

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