Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

number of files in a folder

ls | wc -l #Count files on current directory
ls path/to/dir | wc -l #Count files on specific directory path
 
PREVIOUS NEXT
Tagged: #number #files #folder
ADD COMMENT
Topic
Name
6+9 =