Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

check quantity of files in a folder

$ find assets -type f  | wc -l # count the total number of asset files
      20

$ find assets -type f -name '*.json' | wc -l # count the metadata files
      10

$ find assets -type f -name '*.png' | wc -l  # count the images files
      10
      
## confirm those numbers are all what you would expect.
Source by hackmd.io #
 
PREVIOUS NEXT
Tagged: #check #quantity #files #folder
ADD COMMENT
Topic
Name
7+3 =