Bash script which sorts files to folders by it's content; How to solve wildcard in variables?
问题 I'm scripting a little helper that's sorts files to different folders, but why? The mechanic: On my linux suse server runs a programm that creates zero to unlimited files like "file.1.1" the last number is increasing (file.1.1, file.1.2, file.1.3, and so on). In this files is variable text which contains a keyword, in this example are there fruits. Each kind of fruit is a order and is converted by another script to a e-mail. The problem is, this other script take all files and convert all of