Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

number of files in subdirectories linux

find . -type f -print | wc -l
Comment

linux count files in subdirectories

find . -type f | cut -d/ -f2 | sort | uniq -c | sort -nr
Comment

linux count number of files in directory and subdirectory

find . -type f | cut -d/ -f2 | sort | uniq -c | sort -nr
Comment

linux count files in subdirectories

find . -maxdepth 1 -type d | while read -r dir
do printf "%s:	" "$dir"; find "$dir" -type f | wc -l; done
Comment

PREVIOUS NEXT
Code Example
Shell :: jupyterlab documentation 
Shell :: install jupyterlab with namba 
Shell :: where is /dev/kvm 
Shell :: command to check mongodb version 
Shell :: completely remove app from linux 
Shell :: install material-ui 
Shell :: ubuntu bluetooth protocol not available 
Shell :: nginx cors 
Shell :: npm i mui 
Shell :: install fast api 
Shell :: docker destroy all 
Shell :: install filezilla ubuntu 
Shell :: gensim install conda 
Shell :: ubuntu slack install 
Shell :: install pip kali 
Shell :: install monodevelopment arch linux 
Shell :: check folder sizes linux 
Shell :: install postcss 
Shell :: django_filters install 
Shell :: bash remove empty line 
Shell :: install brave browser on linux 
Shell :: change default shell fish 
Shell :: install epel amazon linux 2 
Shell :: uninstall ionic 
Shell :: no matching key exchange method found. Their offer: diffie-hellman-group1-sha1,diffie-hellman-group14-sha1 
Shell :: bash date today plus one day 
Shell :: clear ubuntu logs 
Shell :: teclado abnt arch linux 
Shell :: add changes to last commit 
Shell :: change process name pm2 
ADD CONTENT
Topic
Content
Source link
Name
2+3 =