问题:find: missing argument to `-exec’ 解决方法: 该行代码为: find $DIR -mtime +$DAYS -type f -name "postgresqlbak" -exec rm { } \; { }两边要加空格,否则会报上面的错。