I want to know the total number of files in all the subdirectories from the courant path.
Here is the clue :
[pene@donunix] dir -1 | xargs -i% ls %/ | wc -l
NB : In my subdirectories there is only files, not directories.
How many files on all the subdirectories
tags :
files and directories,
shell-script
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment