I run a command from which I expect that if the file exists, then it will move to the save folder
$ (if [ -f "new.sql" ]; then mv new.sql save/$(date +%s).sql; exit 33; fi); I get an error message
$ (if [-f "new.sql"]; then mv new.sql save / $ (date +% s) .sql; exit 33; fi); mesg: ttyname failed: Invalid argument ERROR: Job failed: Process exited with: 1. Reason was: ()