In this post: Count files and directories using shell script, DogBane gave this reply on December 5, 2012:
FILECOUNT="$(find . -type f -maxdepth 1 -printf x | wc -c)"
DIRCOUNT="$(find . -type d -maxdepth 1 -printf x | wc -c)"
Can anyone please tell me what the x after -printf means or is used for?
Thank you.