I have a bash script /var/www/scripts/process_sounds.sh
that uses the command:
find /var/www/unprocessed_sounds/ * -type f
It's supposed to find all the files in the unprocessed_sounds
directory, which it does, but it also find all the files in the scripts directory (and then processes them like sound files, which is not what I want).
Why would find
return things in the current directory?
-name '*'
, but it only would make sense if it were something other than *.