Easy Effects终极音效配置指南:50+专业预设深度解析
2025/12/18 1:46:11
在编写持续执行的脚本时,我们可以使用如下代码示例:
FILES='find . -type f -mmin +30 -print' # If new files exist, move them to the processing directory if [ ! -z "$FILES" ] ; then printf "$SCRIPT: new files have arrived at %s\n" "'date'" printf "%s\n" "$FILES" | { while read FILE ; do # Remove leading "./" FILE="${FILE##*/}" # Rename the file with the current time NEW_FILE='$statftime -f "%_L%_a_%T.dat" "$FILE"' if [ -z "$NEW_FILE" ] ; then printf "%s\n" "$SCRIPT:$LINENO: statftime failed to\ create a new filename—skipping" else # Move the file to the processing directory printf "%