I would like to list all files with extension .log except the file backup.log.
I have tried using this command:
ls *.log -I "backup.log"
But all the log files are listed, even backup.log!
How could I list all the log files except backup.log?