Is there a way to change the next line so that I don't have problems when they have files / folders with spaces in them?
files=`find ~/$folder -name "*@*" -type f`
I would prefer that there be a solution that would not require changing other parts of my code, but this line of code, as everything seems to work correctly, except for this minor detail.
thank
EDIT: Here is the code in a bit more detail:
abc=( $(find "$pasta" -name "$ficheiro_original@*" -type f) )
abc_length=${#abc[@]}
source
share