I want to clean up my server from large log files and backups.
I came up with this:
find ./ -size +1M | xargs rm
But I do not want to include mp3 and mp4. I just want to do this for log and archive files (zip, tar, etc.)
How will the command look like?