4

Error in Script. Command find is skipping folders with space character

view full story
linux-howto

http://unix.stackexchange.com – I need a script that counts the files in a directory (and sub). I've taken the followed script, and changed it to my need. It works like it should, except for folders with space characters. I'm pretty sure I'm missing quotes anywhere, but can't figure it out yet. Additional Informations Linux 2.6.22.19-0.4-default (this server is not in a productive environment anymore.) GNU find version 4.2.31 I'm not able to rename the directories. Example Directory Structure . .. 01_infos 02_sent 03_inbox 04_public and private 197. 145. 329. 13. Script #!/bin/bash # Write a script that will count (HowTos)